mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 05:09:40 +02:00
mute error lock
This commit is contained in:
parent
417cce9acf
commit
1e1b13f24e
@ -25,7 +25,7 @@ if [ ${isMainChain} -gt 0 ];then
|
||||
fi
|
||||
|
||||
# check if RTL web interface is installed
|
||||
runningRTL=$(sudo ls /etc/systemd/system/RTL.service | grep -c 'RTL.service')
|
||||
runningRTL=$(sudo ls /etc/systemd/system/RTL.service 2>/dev/null | grep -c 'RTL.service')
|
||||
|
||||
# get the local network IP to be displayed on the lCD
|
||||
localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
|
||||
|
@ -7,7 +7,7 @@
|
||||
localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
|
||||
|
||||
echo "*** Check if RTL is installed ***"
|
||||
isInstalled=$(sudo ls /etc/systemd/system/RTL.service | grep -c 'RTL.service')
|
||||
isInstalled=$(sudo ls /etc/systemd/system/RTL.service 2>/dev/null | grep -c 'RTL.service')
|
||||
if [ ${isInstalled} -eq 1 ]; then
|
||||
|
||||
echo "*** Dialog ***"
|
||||
|
Loading…
x
Reference in New Issue
Block a user