Release new version 1:20210208+grml.5
[live-boot-grml.git] / components / 9990-grml-networking.sh
index 939c0ea..b899461 100644 (file)
@@ -39,7 +39,11 @@ fi
 
 # config for loopback networking
 cat > $IFFILE << EOF
-# Initially generated on boot by initramfs
+# Initially generated on boot by initramfs,
+# interfaces(5) file used by ifup(8) and ifdown(8)
+
+# Include files from /etc/network/interfaces.d:
+source /etc/network/interfaces.d/*
 
 auto lo
 iface lo inet loopback
@@ -133,10 +137,6 @@ EOF
     unset IPV4DNS IPV4DNSLIST
 
     echo>> $IFFILE
-    echo '# Support overriding defaults:' >> $IFFILE
-    echo 'source /etc/network/interfaces.d/*' >> $IFFILE
-
-    echo>> $IFFILE
 done
 
 # dns bootoption