Update config with rest of modes for pacsat reboot

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

@ -405,6 +405,8 @@ elif [ "$1" = "-m" ]; then
else
reboot=1
fi
elif [ "$1" = "p" ] || [ "$1" = "P" ] ; then
reboot=1
else
restart=1
fi
@ -474,6 +476,8 @@ elif [ "$1" = "-s" ]; then
else
reboot=1
fi
elif [ "$1" = "p" ] || [ "$1" = "P" ] ; then
reboot=1
else
restart=1
fi
@ -1272,7 +1276,11 @@ elif [ "$1" = "-e" ]; then
echo "changing CubeSatSim to Repeater mode"
sudo echo "e" > /home/pi/CubeSatSim/.mode
restart=1
if [ "$1" = "p" ] || [ "$1" = "P" ] ; then
reboot=1
else
restart=1
fi
elif [ "$1" = "-n" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.