User guide

5: Freeway Boot and Operation
DC 900-1333Q 147
Configure and enable the secondary Ethernet port, or set up the secondary Ether-
net port as a fail-over for the primary port
Set up the Freeway to access an NTP server
Set up a network firewall
Start a Server Resident Application (SRA)
Start the system log (syslog) utility
Use cron to run a shell script at timed intervals
Start the Freeway web server
Refer to Chapter 6 for information on customizing the Freeway using the
rc.startsra file.
5.1.10 Execute Command File: command.sh
Just before the end of the boot procedure, the Freeway checks the CD/DVD drive for the
existence of a text file called
command.sh at the root level of the CDROM. If this file exists,
the Freeway executes any shell script commands listed in this file. If the file does not
exist, the Freeway continues with the next step in the boot process.
The
command.sh file is used by Protogate for software installation and update CDROMs.
You can create your own command.sh file on a CDROM to copy files to the Freeway disk
drive or perform any other function that requires a shell script. Since this file is executed
only at the end of the boot sequence, any operational file changes you make (such as
changing protocol files) will not take effect until you reboot the Freeway once more.
The
command.sh file may exist on the same CDROM as the bootparm.txt file.