From 5a9712d7ecec9112d7d08b395034a1e9522ff86b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 13 Aug 2023 11:25:41 -0400 Subject: [PATCH] Update config to restart rpitx after command change --- config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config b/config index 06d14d85..9292884b 100755 --- a/config +++ b/config @@ -377,9 +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 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 fi elif [ "$1" = "-R" ]; then