Difference between revisions of "Unit ShellUpdate"
From Ultibo.org
Line 10: | Line 10: | ||
---- | ---- | ||
− | '' | + | |
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell update specific constants''' <code> SHELL_UPDATE_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_HTTP_SEPARATOR = '/';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_HTTP_PROTOCOL = 'http://';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_EXTENSION_TMP = '.tmp';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_EXTENSION_BAK = '.bak';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell update command constants''' <code> SHELL_UPDATE_COMMAND_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_COMMAND_UPDATE = 'UPDATE';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_COMMAND_WGET = 'WGET';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell update action constants''' <code> SHELL_UPDATE_ACTION_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ACTION_CHECK = 'CHECK';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ACTION_GET = 'GET';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ACTION_SET = 'SET';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell update item constants''' <code> SHELL_UPDATE_ITEM_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_ALL = 'ALL';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_KERNEL = 'KERNEL';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_CONFIG = 'CONFIG';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_COMMAND = 'COMMAND';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_HTTP_SERVER = 'SERVER';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_HTTP_PATH = 'REMOTE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_LOCAL_PATH = 'LOCAL';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_KERNEL_IMAGE = 'IMAGE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_KERNEL_CONFIG = 'CONFIG';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_ITEM_KERNEL_COMMAND = 'COMMAND';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell update parameter constants''' <code> SHELL_UPDATE_PARAMETER_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_PARAMETER_REBOOT = 'R';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_UPDATE_PARAMETER_FORCE = 'F';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Type definitions === | === Type definitions === |
Revision as of 02:56, 16 December 2016
Return to Unit Reference
Description
To be documented
Constants
Shell update specific constants
SHELL_UPDATE_*
SHELL_UPDATE_HTTP_SEPARATOR = '/';
|
|
SHELL_UPDATE_HTTP_PROTOCOL = 'http://';
|
|
SHELL_UPDATE_EXTENSION_TMP = '.tmp';
|
|
SHELL_UPDATE_EXTENSION_BAK = '.bak';
|
Shell update command constants
SHELL_UPDATE_COMMAND_*
SHELL_UPDATE_COMMAND_UPDATE = 'UPDATE';
|
|
SHELL_UPDATE_COMMAND_WGET = 'WGET';
|
Shell update action constants
SHELL_UPDATE_ACTION_*
SHELL_UPDATE_ACTION_CHECK = 'CHECK';
|
|
SHELL_UPDATE_ACTION_GET = 'GET';
|
|
SHELL_UPDATE_ACTION_SET = 'SET';
|
Shell update item constants
SHELL_UPDATE_ITEM_*
SHELL_UPDATE_ITEM_ALL = 'ALL';
|
|
SHELL_UPDATE_ITEM_KERNEL = 'KERNEL';
|
|
SHELL_UPDATE_ITEM_CONFIG = 'CONFIG';
|
|
SHELL_UPDATE_ITEM_COMMAND = 'COMMAND';
|
|
SHELL_UPDATE_ITEM_HTTP_SERVER = 'SERVER';
|
|
SHELL_UPDATE_ITEM_HTTP_PATH = 'REMOTE';
|
|
SHELL_UPDATE_ITEM_LOCAL_PATH = 'LOCAL';
|
|
SHELL_UPDATE_ITEM_KERNEL_IMAGE = 'IMAGE';
|
|
SHELL_UPDATE_ITEM_KERNEL_CONFIG = 'CONFIG';
|
|
SHELL_UPDATE_ITEM_KERNEL_COMMAND = 'COMMAND';
|
Shell update parameter constants
SHELL_UPDATE_PARAMETER_*
SHELL_UPDATE_PARAMETER_REBOOT = 'R';
|
|
SHELL_UPDATE_PARAMETER_FORCE = 'F';
|
Type definitions
To be documented
Public variables
To be documented
Function declarations
Initialization functions
procedure ShellUpdateInit;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference