diff --git a/config b/config index 3219d2bda..05e902d80 100755 --- a/config +++ b/config @@ -523,11 +523,13 @@ elif [ "$1" = "-B" ]; then echo "$value" > /dev/null set -- $value -# if [ "$1" = "a" ] || [ "$1" = "s" ] || [ "$1" = "m" ] ; then + if [ "$1" = "a" ] || [ "$1" = "s" ] || [ "$1" = "m" ] ; then echo "rebooting" - # sudo systemctl restart cubesatsim - sudo reboot now -# fi + sudo reboot now + else + echo "restarting" + sudo systemctl restart cubesatsim + fi fi elif [ "$1" = "-q" ]; then