Merge pull request #503 from peepsnet/master

Fixed the sleep function to lcase and a bit of look & feel
pull/512/head
cyoung 2016-10-18 20:18:33 -04:00 zatwierdzone przez GitHub
commit fc6e75adde
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -42,7 +42,7 @@ function HEAD {
} }
function STOPSTRATUX { function STOPSTRATUX {
HEAD
echo "Give me a few seconds to check if STRATUX is running..." echo "Give me a few seconds to check if STRATUX is running..."
# The service we want to check (according to systemctl) # The service we want to check (according to systemctl)
if [ "`systemctl is-active $SERVICE`" = "active" ] if [ "`systemctl is-active $SERVICE`" = "active" ]
@ -51,6 +51,7 @@ function STOPSTRATUX {
echo "Stopping..." echo "Stopping..."
SDRs=`systemctl stop stratux.service` SDRs=`systemctl stop stratux.service`
fi fi
sleep 3
} }
#Function to set the serial function #Function to set the serial function
@ -202,6 +203,9 @@ function PICKFREQ {
} }
function MAINMENU { function MAINMENU {
HEAD
echo "Loading SDR info..."
sleep 2
HEAD HEAD
echo "-----------------------------------------------------------" echo "-----------------------------------------------------------"
SDRs=`rtl_eeprom` SDRs=`rtl_eeprom`