From 0475a7cd3c945158cdf3b21e4de4eb4ab28c56f5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 5 Aug 2026 23:49:10 -0400 Subject: [PATCH] Update config -g reset frequency.txt --- config | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/config b/config index 292c5abe..6b541c73 100755 --- a/config +++ b/config @@ -1593,7 +1593,17 @@ elif [ "$1" = "-g" ]; then echo "Resetting" + sudo systemctl stop cubesatsim + sudo systemctl stop transmit + sudo systemctl stop command + sudo systemctl stop pacsatsim + sudo systemctl stop frequency + sudo systemctl stop pushbutton + sudo systemctl stop OliveTin + echo "AMSAT 0 0 0 no 3 434.9 435 no 0 0 no 60 no" > /home/pi/CubeSatSim/sim.cfg + + echo "434900000 435000000" > frequency.txt sudo echo "b" > /home/pi/CubeSatSim/.mode @@ -1613,14 +1623,6 @@ elif [ "$1" = "-g" ]; then sudo rm /home/pi/CubeSatSim/transmit_dtmf > /dev/null 2>&1 - sudo systemctl stop cubesatsim - sudo systemctl stop transmit - sudo systemctl stop command - sudo systemctl stop pacsatsim - sudo systemctl stop frequency - sudo systemctl stop pushbutton - sudo systemctl stop OliveTin - cp /home/pi/CubeSatSim/hotspot_ini /home/pi/CubeSatSim/hotspot.ini rpi-connect signout