diff --git a/config.sh b/config similarity index 95% rename from config.sh rename to config index d2ff251a..61375544 100755 --- a/config.sh +++ b/config @@ -1,6 +1,12 @@ #!/bin/bash -echo $1 +# echo $1 + +if [ "$1" = "" ]; then + echo "Include a configuration option:" + echo + set -- "-h" +fi if [ "$1" = "-r" ]; then echo "Restarting CubeSatSim" @@ -27,7 +33,7 @@ elif [ "$1" = "-s" ]; then sudo systemctl restart cubesatsim exit elif [ "$1" = "-h" ]; then - echo "./configh.sh [OPTIONS]" + echo "config OPTION" echo echo "Changes CubeSatSim mode, resets, or modifies configuration file" echo @@ -131,4 +137,3 @@ echo "Restarting CubeSatSim with new configuraation file" fi sudo systemctl restart cubesatsim -