Update config remove commented out code

master-b-p-s
Alan Johnston 1 week ago committed by GitHub
parent 000bf1f9e3
commit 2a3d546fef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1158,22 +1158,13 @@ elif [ "$1" = "-o" ]; then
echo "Turn beacon telemetry ON" echo "Turn beacon telemetry ON"
sudo rm /home/pi/CubeSatSim/beacon_off > /dev/null 2>&1 sudo rm /home/pi/CubeSatSim/beacon_off > /dev/null 2>&1
sudo systemctl restart transmit sudo systemctl restart transmit
# if [ "$MODE" = "p" ]; then
# sudo systemctl restart pacsatsim
# fi
else else
echo "Transmit beacon telemetry is on" echo "Transmit beacon telemetry is on"
echo echo
echo "Turn beacon telemetry OFF" echo "Turn beacon telemetry OFF"
touch /home/pi/CubeSatSim/beacon_off touch /home/pi/CubeSatSim/beacon_off
# if [ "$MODE" = "p" ]; then sudo systemctl restart transmit
# sudo systemctl stop pacsatsim
# sudo systemctl stop transmit
# else
sudo systemctl restart transmit
# fi
fi fi
sleep 3 sleep 3
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.