actually restart the code on the roborio when it crashes
Change-Id: I647e705dcba5294068c402947cd2e0871fa49094
diff --git a/aos/linux_code/starter/starter.sh b/aos/linux_code/starter/starter.sh
index ee2ae1f..b81bf62 100755
--- a/aos/linux_code/starter/starter.sh
+++ b/aos/linux_code/starter/starter.sh
@@ -3,5 +3,7 @@
# NI already has a core pattern, so we probably shouldn't change it.
#echo '/home/driver/tmp/robot_logs/%e-%s-%p-%t.coredump' > /proc/sys/kernel/core_pattern
-export PATH=$PATH:/home/admin/robot_code
-exec starter_exe /home/admin/robot_code/start_list.txt
+while true; do
+ export PATH=$PATH:/home/admin/robot_code
+ starter_exe /home/admin/robot_code/start_list.txt
+done