User`s guide

Automatically Upgrade Firmware or Configuration using TFTP
Chapter 18 System Administration 295
Upgrade any file action
The syntax for action 3, file upgrade, is:
action #,file name,options,destination
Where:
action #
The action number to be performed, which is 3.
file name
The path and the filename of the file on the TFTP server.
options
Actions performed on the file:
F
Forced copy: override existing file.
X
Decompress file.
Z
Unzip file.
U
Upload file; this is the default option.
destination
The directory on the Digi Passport unit in which to put the file.
The specified files are downloaded every time the Digi Passport unit boots
and there is no reboot after downloading.
For example:
3,snmpd.conf,FU,/tmp/cnf
The file snmpd.conf is copied from the TFTP server and placed into
/tmp/cnf. The file is used as is and the previous version is overwritten.
Execute command action
The syntax for action 4, execute a command, is:
action #,command parameters
Where:
action #
The action number to be performed, which is 4.
command
Any application on the Digi Passport unit that can be executed by the root
user.
parameter
All parameters required by the application.
For example:
4,touch /tmp/test