Update config with message if invalid option chosen

pull/302/head
Alan Johnston 2 years ago committed by GitHub
parent d155f730a0
commit 18bea17904
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -183,7 +183,7 @@ elif [ "$1" = "-h" ]; then
echo " -l Change the Latitude and Longitude in the configuration file sim.cfg" echo " -l Change the Latitude and Longitude in the configuration file sim.cfg"
echo " -S Scan both I2C buses on the Raspberry Pi" echo " -S Scan both I2C buses on the Raspberry Pi"
echo " -C Clear logs" echo " -C Clear logs"
echo " Change command and control state" echo " -T Change command and control state"
echo " -R Change the Commands Count in the file command_count.txt" echo " -R Change the Commands Count in the file command_count.txt"
echo " -B Change battery saver mode manually" echo " -B Change battery saver mode manually"
echo " -q Change the Squelch setting for command receiver" echo " -q Change the Squelch setting for command receiver"
@ -712,6 +712,11 @@ elif [ "$1" = "-v" ]; then
echo echo
/home/pi/CubeSatSim/telem /home/pi/CubeSatSim/telem
else
echo
echo "Unknown option. Try config -h for a list of supported options."
echo
fi fi
# sudo systemctl restart cubesatsim # sudo systemctl restart cubesatsim

Loading…
Cancel
Save

Powered by TurnKey Linux.