diff --git a/config b/config index 9749b28d..10d6989c 100755 --- a/config +++ b/config @@ -1629,10 +1629,6 @@ elif [ "$1" = "-M" ]; then reboot=1 fi - - - - else case $MODE in 1) @@ -1679,6 +1675,9 @@ elif [ "$1" = "-M" ]; then echo echo $MODE > /home/pi/CubeSatSim/failure_mode.txt + echo 'Changing simulated failure mode to $MODE' | wall + + elif [ "$1" = "-N" ]; then FILE=/home/pi/CubeSatSim/failure_mode.txt