X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-grml-networking.sh;h=394d0111f2a9ab52153e523595c8862c228e4847;hb=e6edd1b87c79f7a6dc9b4502f8add7454971e030;hp=ee80f5dbc506f1d53f29b16ac2cdfd7567c523ec;hpb=c28667cbd5e624e9a290174289ffb7920f37db38;p=live-boot-grml.git diff --git a/components/9990-grml-networking.sh b/components/9990-grml-networking.sh index ee80f5d..394d011 100644 --- a/components/9990-grml-networking.sh +++ b/components/9990-grml-networking.sh @@ -133,14 +133,14 @@ EOF done # dns bootoption -if [ -n "$DNSSERVER1" ] +if [ -n "$DNSSERVERS" ] then # disable any existing entries if [ -r $RESOLVCONF ] then sed -i 's/nameserver/# nameserver/' $RESOLVCONF fi - for i in $DNSSERVER1 $DNSSERVER2 + for i in $DNSSERVERS do echo "nameserver $i" >> $RESOLVCONF done