From 5311989ea1a47b325e9c0e825ff653fb576d008f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 13 Aug 2023 11:36:15 -0400 Subject: [PATCH] Update config to reboot after command state change --- config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index e6e5b28a..1bb97b8e 100755 --- a/config +++ b/config @@ -377,11 +377,11 @@ elif [ "$1" = "-T" ]; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then sudo sed -i 's/False/True/g' /home/pi/CubeSatSim/command_tx echo "Command state set to True to enable beacon" - sudo systemctl restart rpitx + sudo reboot now else sudo sed -i 's/True/False/g' /home/pi/CubeSatSim/command_tx echo "Command state set to False to disable beacon" - sudo systemctl restart rpitx + sudo reboot now fi elif [ "$1" = "-R" ]; then