PnP - Initial script for managing plug and play radios from the command line

This commit is contained in:
Gaston Gonzalez
2024-10-11 13:48:26 -07:00
parent a6c12d7582
commit ff3a363b53
2 changed files with 57 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/bin/bash
#
# Author : Gaston Gonzalez
# Date : 11 October 2024
# Purpose : A script for managaing plug-and-play radios
function usage() {
echo "Usage: $(basename $0) <command>"
echo " list - list supported radios"
echo " set - set radio as active"
echo " show - show active radion"
}
if [ $# -ne 1 ]; then
usage
exit 1
fi
case $1 in
list)
echo "Implement me"
;;
set)
echo "Implement me"
;;
show)
echo "Implement me"
;;
*)
echo "Command not supported."
usage
exit 1
;;
esac