Index: scripts/run.sh =================================================================== diff -u -r3f555c49ddd2c983f469709e3c001d0e76159248 -r3ad21b53b6b15cc0c88661cf17ba454fe0a302b1 --- scripts/run.sh (.../run.sh) (revision 3f555c49ddd2c983f469709e3c001d0e76159248) +++ scripts/run.sh (.../run.sh) (revision 3ad21b53b6b15cc0c88661cf17ba454fe0a302b1) @@ -21,20 +21,20 @@ } +#DO NOT MODIFY VARIABLES +#unless the denali applicaiton is updated as well to match. HOME=/home/root SDCARD_DEV=/dev/mmcblk1p1 SDCARD_MNT=/media/sd-card USB_DEV=/dev/sda1 USB_MNT=/media/usb - -#DO NOT MODIFY POST VARIABLES -#unless the denali applicaiton is updated as well to match. POSTLOG=$HOME/post.log POSTMSG_CANBUS="CANBus passed" POSTMSG_SDCARD="SD-CARD passed" POSTMSG_TOUCH="Touch passed" POSTMSG_RTC="RTC passed" + # cleanup the POST log file echo "Start: $(currDate)" > $POSTLOG @@ -43,6 +43,7 @@ mkdir -p $SDCARD_MNT mkdir -p $USB_MNT + # ---------------------------------------- UPDATE #mounting usb mount $USB_DEV $USB_MNT @@ -62,6 +63,7 @@ fi fi + # ---------------------------------------- SETUP & POST #Here only passed is logged and if nothing added to the post.log means it failed. @@ -115,12 +117,24 @@ # stop the connection manager daemon killall connmand + +# setup bluetooth +/usr/share/silex-uart/silex-uart.sh start > $HOME/filesystem.out 2> $HOME/filesystem.err +hciconfig hci0 up + + # setup wifi killall wpa_supplicant >> $HOME/filesystem.out 2>> $HOME/filesystem.err + #launching denali application, disable keep-alive $HOME/denali -u & + +# setup wifi udhcpc -i eth0 -n & + +# tag the end time in the POST log file echo "End: $(date +"%d%m%Y%H%M%S")" >> $POSTLOG +