tscan.rc.local - Startup TeraScan capture, GPS, and UPS daemons

Description

tscan.rc.local is a C-shell script that starts up one or more of the following daemons:

tsched - Captures satellite passes using a time-based schedule

gvarsched - Captures satellite passes on an on-demand basis

whereami - Determines current site location from GPS or other source

sunclock - Determines correct time of day and updates system clock

ups_monitor - Monitors UPS for low battery conditions during power failure

Prior to starting any daemons, tscan.rc.local sources the tscan.login file to setup the necessary TeraScan environment variables. Session logging is subsequently disabled by setting SESSIONLOG to /dev/null. Under SunOS or Solaris with a DSP card, tscan.rc.local loads the run-time driver for controlling that card, prior to starting either tsched or gvarsched.

tscan.rc.local is normally run during system bootup. Under SunOS, it is normally run from the /etc/rc.local script. Under Solaris, it is typically run from a script in one of the /etc/rcN.d directories. Under HPUX, tscan.rc.local is usually run from the /etc/inittab file.

SEE ALSO

terascan, tscan.login, tsched, gvarsched, whereami, sunclock, ups_monitor

NOTES

tscan.rc.local is usually maintained in the directory $PASSDIR.

Each daemon started from tscan.rc.local must be run in the background in order for the script to end and return control to the boot up process.

tsched and gvarsched create a shared memory segment that is used by the other daemons. It takes a few seconds for this shared memory to be initialized, so the other daemons must wait before they are started. This can be done using the UNIX sleep command.


Last Update: $Date: 2000/07/21 21:30:19 $