Update config change to sed

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

@ -375,10 +375,10 @@ elif [ "$1" = "-T" ]; then
echo echo
if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then
sudo echo "True" > /home/pi/CubeSatSim/command_tx sudo sed -i 'False/True/g' /home/pi/CubeSatSim/command_tx
echo "Command state set to True to enable beacon" echo "Command state set to True to enable beacon"
else else
sudo echo "False" > /home/pi/CubeSatSim/command_tx sudo sed -i 'True/False/g' /home/pi/CubeSatSim/command_tx
echo "Command state set to False to disable beacon" echo "Command state set to False to disable beacon"
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.