From 2ccd43f0f39fc6bebb1bf71548d643353eba215e Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 4 Nov 2018 04:09:35 +0100 Subject: [PATCH] fixed string compare --- 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 41955b8..ed27909 100755 --- a/home.admin/00infoLCD.sh +++ b/home.admin/00infoLCD.sh @@ -32,7 +32,7 @@ while : dialog --backtitle "RaspiBlitz" --infobox "$l1$l2$l3" 5 30 sleep 3 - elif [ ${localip:0:4} = "169." ]; then + elif [ "${localip:0:4}" = "169." ]; then # waiting for IP in general l1="Waiting for DHCP ...\n" @@ -174,7 +174,7 @@ while : fi fi - + fi done