Browse Source

mute error lock

#146
rootzoll 6 years ago
parent
commit
1e1b13f24e
  1. 2
      home.admin/00mainMenu.sh
  2. 2
      home.admin/98installRTL.sh

2
home.admin/00mainMenu.sh

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

2
home.admin/98installRTL.sh

@ -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…
Cancel
Save