blob: c5af65ac0b8335af06ede5eb451b93d3c293a82d [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001#!/bin/bash
2
Brian Silverman20141f92015-01-05 17:39:01 -08003# NI already has a core pattern, so we probably shouldn't change it.
4#echo '/home/driver/tmp/robot_logs/%e-%s-%p-%t.coredump' > /proc/sys/kernel/core_pattern
Brian Silverman80353cb2013-03-19 18:27:53 -07005
Austin Schuh540089c2019-12-29 20:36:16 -08006ln -s /var/local/natinst/log/FRC_UserProgram.log /tmp/FRC_UserProgram.log
7ROBOT_CODE="/home/admin/robot_code"
8cd "${ROBOT_CODE}"
9export PATH="${PATH}:${ROBOT_CODE}"
Brian Silverman17bb36d2015-03-29 16:50:06 -040010while true; do
Austin Schuh540089c2019-12-29 20:36:16 -080011 starter_exe $ROBOT_CODE/start_list.txt 2>&1
Brian Silverman17bb36d2015-03-29 16:50:06 -040012done