From: Michael Prokop Date: Tue, 23 Jun 2020 09:58:20 +0000 (+0200) Subject: Add instance for sourcing /etc/network/interfaces.d/ only once X-Git-Tag: debian/1%20200527+grml.2~1 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=2f7a8c9f67d2039d37f481c07061ddc4596b34de Add instance for sourcing /etc/network/interfaces.d/ only once We don't want one instance of `source /etc/network/interfaces.d/*` per interace, but instead once per file. Closes: https://github.com/grml/live-boot-grml/issues/11 --- diff --git a/components/9990-grml-networking.sh b/components/9990-grml-networking.sh index 939c0ea..0bc5ed2 100644 --- a/components/9990-grml-networking.sh +++ b/components/9990-grml-networking.sh @@ -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