Update config -g reset frequency.txt

master-ba
Alan Johnston 2 months ago committed by GitHub
parent 489abf4f91
commit 0475a7cd3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save

Powered by TurnKey Linux.