[dc022b]: sdcard / lejosfs / home / root / lejos / bin / startup Maximize Restore History

Download this file

startup    17 lines (15 with data), 545 Bytes

#! /bin/sh
. /etc/default/lejos
echo "Start Network"
${LEJOS_HOME}/bin/startnetwork
# perform updates if needed
${LEJOS_HOME}/bin/updatejre
#echo "Mount dev system"
#busybox mount -t nfs -o nolock legovm:/export/lejos /home/lejos
# show lejos splash, while modules load
#(cd ${LEJOS_HOME}/bin/utils; ${LEJOS_HOME}/bin/jrun Splash `cat ${LEJOS_HOME}/version`) &
echo "Load modules"
${LEJOS_HOME}/bin/init
echo "Complete"
# Run the menu
(cd ${LEJOS_HOME}/bin/utils; ${LEJOS_HOME}/bin/jrun -jar EV3Menu.jar `hostname` `cat ${LEJOS_HOME}/version`)