diff --git a/config b/config index 4ea1ab08..42f76fe0 100755 --- a/config +++ b/config @@ -361,6 +361,10 @@ elif [ "$1" = "-a" ]; then elif [ "$1" = "-m" ]; then + value=`cat /home/pi/CubeSatSim/.mode` + echo "$value" > /dev/null + set -- $value + if [ "$1" == "n" ]; then transmit_command_cw @@ -374,6 +378,10 @@ elif [ "$1" = "-m" ]; then elif [ "$1" = "-f" ]; then + value=`cat /home/pi/CubeSatSim/.mode` + echo "$value" > /dev/null + set -- $value + if [ "$1" == "n" ]; then transmit_command_fsk @@ -387,6 +395,10 @@ elif [ "$1" = "-f" ]; then elif [ "$1" = "-b" ]; then + value=`cat /home/pi/CubeSatSim/.mode` + echo "$value" > /dev/null + set -- $value + if [ "$1" == "n" ]; then transmit_command_bpsk @@ -400,6 +412,10 @@ elif [ "$1" = "-b" ]; then elif [ "$1" = "-s" ]; then + value=`cat /home/pi/CubeSatSim/.mode` + echo "$value" > /dev/null + set -- $value + if [ "$1" == "n" ]; then transmit_command_sstv