Browse Source

change to bash

#146
rootzoll 6 years ago
parent
commit
f8616cee46
  1. 4
      home.admin/00infoLCD.sh

4
home.admin/00infoLCD.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
### USER PI AUTOSTART (LCD Display)
# this script gets started by the autologin of the pi user and
@ -23,7 +23,7 @@ while :
localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
dhcpMissing=
if [ ${#localip} -eq 0 ];then
if [ ${#localip} -eq 0 ]; then
# waiting for IP in general
l1="Waiting for Network ...\n"

Loading…
Cancel
Save