-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfabeacon-admin.sh
executable file
·41 lines (32 loc) · 1.01 KB
/
fabeacon-admin.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
tversion=0.3.1
SELECTION="Help Quit Installer Boletim-play 333-play Boletim-rtty-play PTT_ON PTT_OFF"
select options in $SELECTION; do
if [ "$options" = "Help" ]; then
cat README.md
elif [ "$options" = "Quit" ]; then
echo "Exiting FABEACON ADMIN"
exit
elif [ "$options" = "Installer" ]; then
echo "Escolheu a option $options"
./fabeacon-installer.sh
elif [ "$options" = "Boletim-play" ]; then
echo "Escolheu a option $options"
./beacon.sh
elif [ "$options" = "Boletim-play" ]; then
echo "Escolheu a option $options"
./333-play.sh
elif [ "$options" = "Boletim-rtty-play" ]; then
echo "Escolheu a option $options"
./bdigital.sh
elif [ "$options" = "PTT_ON" ]; then
echo "Escolheu a option $options"
python ./on.py
elif [ "$options" = "PTT_OFF" ]; then
echo "Escolheu a option $options"
python ./off.py
else
clear;
echo "Insert an option. Press ENTER to list."
echo "FABEACON ADMIN version: "$tversion
fi
done