Update config change -a, -f, -b to reboot for pacsat

pacsat-v2.2-tlm3
Alan Johnston 4 weeks ago committed by GitHub
parent 86763119d6
commit 474e3f618b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -377,6 +377,8 @@ elif [ "$1" = "-a" ]; then
else
reboot=1
fi
elif [ "$1" = "p" ] || [ "$1" = "P" ] ; then
reboot=1
else
restart=1
fi
@ -422,6 +424,9 @@ elif [ "$1" = "-f" ]; then
echo "changing CubeSatSim to FSK mode"
sudo echo "f" > /home/pi/CubeSatSim/.mode
if [ "$1" = "p" ] || [ "$1" = "P" ] ; then
reboot=1
else
restart=1
fi
@ -439,6 +444,9 @@ elif [ "$1" = "-b" ]; then
echo "changing CubeSatSim to BPSK mode"
sudo echo "b" > /home/pi/CubeSatSim/.mode
if [ "$1" = "p" ] || [ "$1" = "P" ] ; then
reboot=1
else
restart=1
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.