X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-grml-networking.sh;h=939c0ea56f4d0998742ccf40b82ac66715a41c48;hb=f9a1d707cf5e367cfdd0925f86a7ff69e108da26;hp=ace078e92315afb97e1509ddee8811780b582f7a;hpb=52474b4c283033247a3cac42b5551d4380835e7a;p=live-boot-grml.git diff --git a/components/9990-grml-networking.sh b/components/9990-grml-networking.sh index ace078e..939c0ea 100644 --- a/components/9990-grml-networking.sh +++ b/components/9990-grml-networking.sh @@ -51,8 +51,8 @@ unset HOSTNAME # generate config for each present network device for interface in /sys/class/net/* ; do [ -e ${interface} ] || continue - [ "${interface}" = "lo" ] && continue interface=$(basename ${interface}) + [ "${interface}" = "lo" ] && continue method="dhcp" # NODHCP or a previously run ipconfig mean that ifupdown should never @@ -133,6 +133,10 @@ EOF unset IPV4DNS IPV4DNSLIST echo>> $IFFILE + echo '# Support overriding defaults:' >> $IFFILE + echo 'source /etc/network/interfaces.d/*' >> $IFFILE + + echo>> $IFFILE done # dns bootoption