User`s guide

Automatically Upgrade Firmware or Configuration using TFTP
Chapter 18 System Administration 293
Structure of the Hash File
The hash file is an ASCII configuration file with one line per entry. Each
entry defines one upgrade action.
The hash file defines several actions:
1. Upgrade firmware
2. Upgrade configuration
3. Upgrade any file
4. Execute an application.
The action is the first entry in the line and it also defines the syntax of the
line.
Upgrade firmware action
The syntax for action 1: firmware upgrade is:
action #,image name,model name,version
Where:
action #
The action number to be performed. For upgrading firmware, the action
number is 1.
image name
The path and the filename of the firmware on the TFTP server.
model name
The product name, including the port count, for example, DigiPassport4,
DigiPassport8, DigiPassport16, DigiPassport32, DigiPassport48. This
allows for a different hash file for different models.
version
The version number of the firmware
The Digi Passport unit downloads the firmware if the version number of
the running firmware is different than the firmware version in the hash file
(the current firmware version is saved in file /tmp/cnf/version).
Make sure the firmware version in the hash file matches the firmware
version on the FTP directory, otherwise a continuous upgrade process
will be started.
For example:
1,Passport48.img,DigiPassport48,v1.1.0
After the firmware is upgraded the Digi Passport unit boots again.