From: Evgeni Golov <evg...@grml.org> `if [ "${rc_server1}" ! = "0.0.0.0" ]` is wrong shell syntax --- components/9990-netbase.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/9990-netbase.sh b/components/9990-netbase.sh index 496c3ff..af3522f 100755 --- a/components/9990-netbase.sh +++ b/components/9990-netbase.sh @@ -120,7 +120,7 @@ EOF rc_server1=$(cat netboot.config | awk '/dns0/ { print $8 }') - if [ "${rc_server1}" ! = "0.0.0.0" ] + if [ "${rc_server1}" != "0.0.0.0" ] then echo "nameserver ${rc_server1}" >> /root/etc/resolv.conf fi -- 1.9.1 -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1395731195-9950-1-git-send-email-evgeni+...@golov.de