From 59ad1051fa16a6068b653d4c77b3aea06e808efc Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 9 Sep 2025 11:27:03 -0400 Subject: [PATCH] Update config use sudo for failure_modes --- config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index f36c9af8..8725f2a9 100755 --- a/config +++ b/config @@ -564,7 +564,7 @@ elif [ "$1" = "-t" ]; then else sim="no" echo "Simulated Telemetry is OFF" - echo "-1" > /home/pi/CubeSatSim/failure_mode.txt # make sure to turn off any simulated failures + sudo echo "-1" > /home/pi/CubeSatSim/failure_mode.txt # make sure to turn off any simulated failures fi # echo @@ -1632,7 +1632,7 @@ 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