Update config to restart rpitx after command change

sr-frs-rx
Alan Johnston 2 years ago committed by GitHub
parent 24912ec31c
commit 5a9712d7ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by TurnKey Linux.