From 2a16426a0a1eb738ff761c031dcca852912dc9d9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 7 Sep 2024 16:02:46 -0400 Subject: [PATCH] Update config add reboot for -g --- config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config b/config index b3e5df37..d88c7994 100755 --- a/config +++ b/config @@ -1370,9 +1370,11 @@ elif [ "$1" = "-g" ]; then echo "Resetting configration back to default settings" echo - echo "AMSAT 0 0 0 no 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg + echo "AMSAT 0 0 0 no 3 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg - restart=1 + sudo echo "f" > /home/pi/CubeSatSim/.mode + + reboot=1 elif [ "$1" = "-h" ]; then