diff --git a/config b/config index db2860fd..49a095b9 100755 --- a/config +++ b/config @@ -1561,12 +1561,10 @@ elif [ "$1" = "-M" ]; then # echo $MODE echo - echo $MODE > /home/pi/CubeSatSim/failure_mode.txt + sudo 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