Append nameservers provided via dns bootoption into initramfs resolv.conf
[live-boot-grml.git] / debian / patches / 26_support_dns_bootoption.patch
index ce1fc47..6c32e06 100644 (file)
                        debug)
                                DEBUG="Yes"
                                export DEBUG
+@@ -846,7 +858,7 @@
+                               echo "search ${DNSDOMAIN}" >> /etc/resolv.conf
+                       fi
+-                      for i in ${IPV4DNS0} ${IPV4DNS1} ${IPV4DNS1}
++                      for i in ${IPV4DNS0} ${IPV4DNS1} ${IPV4DNS1} ${DNSSERVER1} ${DNSSERVER2}
+                       do
+                               if [ -n "$i" ] && [ "$i" != 0.0.0.0 ]
+                               then
 --- a/scripts/live-bottom/23networking_grml
 +++ b/scripts/live-bottom/23networking_grml
 @@ -44,7 +44,12 @@