fixed string compare

This commit is contained in:
rootzoll
2018-11-04 04:09:35 +01:00
parent aab36255c4
commit 2ccd43f0f3

View File

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