From dbea139e0aa0dd9989e930ee46a2d2a0350d71ba Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 28 Jan 2026 15:18:55 -0500 Subject: [PATCH] Update config delete then change failure mode --- config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config b/config index 49a095b9..134819d1 100755 --- a/config +++ b/config @@ -1561,7 +1561,8 @@ elif [ "$1" = "-M" ]; then # echo $MODE echo - sudo echo $MODE > /home/pi/CubeSatSim/failure_mode.txt + sudo rm /home/pi/CubeSatSim/failure_mode.txt + echo $MODE > /home/pi/CubeSatSim/failure_mode.txt echo "Changing simulated failure mode to $MODE" | wall