blob: 13f7fa2daf52e035352c76dace9e4ae263e35724 [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
Brian Silverman6f51c702015-12-24 14:40:23 -08006# Just allow overcommit memory like usual. Various processes map memory they
7# will never use, and the roboRIO doesn't have enough RAM to handle it.
8echo 0 > /proc/sys/vm/overcommit_memory
9
Brian Silverman17bb36d2015-03-29 16:50:06 -040010while true; do
11 export PATH=$PATH:/home/admin/robot_code
12 starter_exe /home/admin/robot_code/start_list.txt
13done