diff --git a/config b/config index 4f479d21..a9c9e7fc 100755 --- a/config +++ b/config @@ -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