#!/sbin/ksh

# Kill deframer first so that another PEL doesn't start if we get a "CALL PE ..."
# defr30 will not have time to respawn because of the delay in DEFRAMER.start which
# will search for core files.
killall defr30

# We need to kill them twice
killall -2 PelOrion PelOrion.rend
sleep 5
killall -2 PelOrion PelOrion.rend
sleep 2

# Now, kill everything else
killall cal defr30 update sensors

# This will make sure we have the fonts loaded
cd /twc/bin
sleep 15
echo "CALL PE LOAD FCST X" | /twc/bin/fire_str
echo "CALL PE LOAD FCST A" | /twc/bin/fire_str
echo "CALL PE LOAD FCST K" | /twc/bin/fire_str
