kopia lustrzana https://github.com/cyoung/stratux
Merge pull request #503 from peepsnet/master
Fixed the sleep function to lcase and a bit of look & feelpull/512/head
commit
fc6e75adde
|
@ -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`
|
||||||
|
|
Ładowanie…
Reference in New Issue