# HG changeset patch # User Giulio Moro # Date 1464970556 -3600 # Node ID abd7795dad5dd3213d337a2313a94eb6a28daf07 # Parent ccfcf1303f12c751d308ebb86ee213b49df04adc relaxed the loop when set_startup.sh -l (added a sleep in there). This way if the file fails to load, the board is still operable, see #1698 diff -r ccfcf1303f12 -r abd7795dad5d scripts/set_startup.sh --- a/scripts/set_startup.sh Fri Jun 03 17:09:26 2016 +0100 +++ b/scripts/set_startup.sh Fri Jun 03 17:15:56 2016 +0100 @@ -62,7 +62,7 @@ SCRIPT_PRERUN= SCRIPT_POSTRUN= if [ $RUN_IN_LOOP -ne 0 ] ; then - SCRIPT_PRERUN="bash -c \\\"while true ; do" + SCRIPT_PRERUN="bash -c \\\"while sleep 0.5 ; do" SCRIPT_POSTRUN=" ; done \\\" " fi @@ -73,4 +73,4 @@ echo Running BeagleRT... screen -S BeagleRT -d -m $SCRIPT_PRERUN $BBB_PATH/BeagleRT $COMMAND_ARGS $SCRIPT_POSTRUN\" > $BBB_STARTUP_SCRIPT" -fi \ No newline at end of file +fi