mute error lock

This commit is contained in:
rootzoll 2018-11-04 01:23:49 +01:00
parent 417cce9acf
commit 1e1b13f24e
2 changed files with 2 additions and 2 deletions

View File

@ -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'/')

View File

@ -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 ***"