Update config to use sudo for failure mode change

master
Alan Johnston 1 week ago committed by GitHub
parent aba6b4abb8
commit de01f7b3cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.