projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
/e/n/i: move sourcing of /etc/network/interfaces.d/ to begin of file
[live-boot-grml.git]
/
components
/
9990-grml-networking.sh
diff --git
a/components/9990-grml-networking.sh
b/components/9990-grml-networking.sh
index
0bc5ed2
..
b899461
100644
(file)
--- a/
components/9990-grml-networking.sh
+++ b/
components/9990-grml-networking.sh
@@
-39,7
+39,11
@@
fi
# config for loopback networking
cat > $IFFILE << EOF
# 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
auto lo
iface lo inet loopback
@@
-135,10
+139,6
@@
EOF
echo>> $IFFILE
done
echo>> $IFFILE
done
-echo '# Support overriding defaults:' >> $IFFILE
-echo 'source /etc/network/interfaces.d/*' >> $IFFILE
-echo>> $IFFILE
-
# dns bootoption
if [ -n "$DNSSERVERS" ]
then
# dns bootoption
if [ -n "$DNSSERVERS" ]
then