Add instance for sourcing /etc/network/interfaces.d/ only once
[live-boot-grml.git] / components / 9990-grml-networking.sh
index 939c0ea..0bc5ed2 100644 (file)
@@ -133,12 +133,12 @@ EOF
     unset IPV4DNS IPV4DNSLIST
 
     echo>> $IFFILE
-    echo '# Support overriding defaults:' >> $IFFILE
-    echo 'source /etc/network/interfaces.d/*' >> $IFFILE
-
-    echo>> $IFFILE
 done
 
+echo '# Support overriding defaults:' >> $IFFILE
+echo 'source /etc/network/interfaces.d/*' >> $IFFILE
+echo>> $IFFILE
+
 # dns bootoption
 if [ -n "$DNSSERVERS" ]
 then