From 14813fb4de9b52da9e219bc151e1a3e562aec703 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 15 Jul 2024 10:53:50 -0400 Subject: [PATCH] Update config add test --- config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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