Update and rename config.sh to config

pull/85/head
alanbjohnston 5 years ago committed by GitHub
parent 06dea5d9e0
commit 869be3c524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
Loading…
Cancel
Save

Powered by TurnKey Linux.