set -i
export TZ=utc00
rtc -l hw
Dev &
Dev.ansi -Q -n 6 &
reopen //0/dev/con1
kbd /etc/config/kbd/UnitedKingdom
#Dev.ser -F 3f8,4 2f8,3 e000,12 e008,12 e010,12 e018,12 &
setSerial
Dev.par &
Dev.pty &
dinit /dev/ram
mount /dev/ram ram
##mousetrap start
##Iso9660fsys &
Fsys.floppy &
Pipe &
emu87 &
Net &
Net.rtl &
sleep 2
automap
nameloc &
# set 4 off RS485 ports to half duplex
#/Utils/io_edit -b 0xe400 -w0x00
#/Utils/io_edit -b 0xe402 -w0x00
#/Utils/io_edit -b 0xe404 -w0x00
#/Utils/io_edit -b 0xe406 -w0x00
tinit -T /dev/con* -t /dev/con1 &

echo Starting Pilot Applications
PATH=$PATH:/usr/photon/bin
export PHWMOPTS="-b030096"
export LOGNAME=root
export PHPDM_DISABLE=1
ph &
sleep 18
//1/control_system/bin/start_pilot
sleep 2

