File:  [TIS-4000 Rel T60] / scripts / start_TIS
Revision 1.3: download - view: text, annotated - select for diffs
Fri Sep 1 11:34:56 2000 UTC (17 years, 3 months ago) by tis4000
Branches: MAIN
CVS tags: LMC_baseline, HEAD, Duluth_baseline
Start tisTime instead of timeServer. Don't need to be root. Don't need call to ndd command done in rc.*** files. Don't need to su to tis4000. - Steel

#!/bin/csh
#
setenv OPENWINHOME /usr/openwin
setenv DISPLAY :0.0

umask 000
limit descriptors 200
limit coredumpsize unlimited
#
/tis4000/tasks/stop_TIS
#
#	Begins the TIS4000 software
#
set process=""
set pid=""

if ($status == 1) then
  exit 1
endif


echo "*************************************************************"
echo " "
echo "********  Starting TIS4000 and Background Processes ********"
echo " "
echo " "
echo "Starting Time Server...."
echo " "
#
setenv host `/usr/ucb/hostname`
# there are optins to start tisTime, see documentation
#    start as master with no gps and no other servers
#	/tis4000/tasks/tisTime -m >/dev/null &
#    start with gps and otehr servers to look at if gps is down
#	/tis4000/tasks/tisTime -p /dev/cua/a -h amsop2 -h rmwthist >/dev/null &
#    start as slave looking at servers to get time
#	/tis4000/tasks/tisTime -h amsop1 -h amsop2 -h rmwthist >/dev/null &
/tis4000/tasks/tisTime -m >/dev/null &
#
# Now run the starttis4000 script to start the TIS4000
#
/tis4000/tasks/starttis4000
#
#
#echo " "
#echo "Starting ping program...."
#
#/tis4000/tasks/png2 &
#sleep 5
#
#
echo " "
echo "****** TIS4000 and Background Processes Started ******"
echo " "
echo "*****************************************************************"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>