From f8616cee461011e1feb6549c1ad55a3c9e372331 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 4 Nov 2018 04:15:23 +0100 Subject: [PATCH] change to bash --- home.admin/00infoLCD.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/00infoLCD.sh b/home.admin/00infoLCD.sh index ed27909..a6674eb 100755 --- a/home.admin/00infoLCD.sh +++ b/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"