diff --git a/config b/config index a90ce8b0..cbb515f3 100755 --- a/config +++ b/config @@ -15,6 +15,8 @@ if [ "$1" = "" ]; then if [ "$1" = "a" ]; then echo "APRS mode is set" + elif [ "$1" = "c" ]; then + echo "CW mode is set" elif [ "$1" = "f" ]; then echo "FSK mode is set" elif [ "$1" = "b" ]; then @@ -58,6 +60,11 @@ elif [ "$1" = "-a" ]; then sudo echo "a" > /home/pi/CubeSatSim/.mode sudo systemctl restart cubesatsim exit +elif [ "$1" = "-c" ]; then + echo "changing CubeSatSim to CW mode" + sudo echo "c" > /home/pi/CubeSatSim/.mode + sudo systemctl restart cubesatsim + exit elif [ "$1" = "-f" ]; then echo "changing CubeSatSim to FSK mode" sudo echo "f" > /home/pi/CubeSatSim/.mode @@ -80,6 +87,7 @@ elif [ "$1" = "-h" ]; then echo echo " -h This help info" echo " -a Change to AFSK/APRS mode" + echo " -c Change to CW mode" echo " -f Change to FSK/DUV mode" echo " -b Change to BPSK mode" echo " -s Change to SSTV mode" @@ -88,7 +96,6 @@ elif [ "$1" = "-h" ]; then echo " -m Change the Simulated Telemetry setting in sim.cfg" echo " -r Change the Resets Count in the configuration file sim.cfg" echo " -l Change the Latitude and Longitude in the configuration file sim.cfg" - echo " Only used for APRS telemetry" echo exit