[SCM] live-debconfig branch, debian-next, updated. debian/4.0_a3-1-15-g859206a
Daniel Baumann
daniel at debian.org
Fri Aug 17 10:34:44 UTC 2012
The following commit has been merged in the debian-next branch:
commit 859206a3de9b8070382b689c0086631580440c25
Author: Daniel Baumann <daniel at debian.org>
Date: Fri Aug 17 12:34:43 2012 +0200
Evening out whitespace seperation in ifupdown script when generating /etc/network/interfaces.
diff --git a/scripts/debconfig/0020-ifupdown b/scripts/debconfig/0020-ifupdown
index 0dd4042..9f0a390 100755
--- a/scripts/debconfig/0020-ifupdown
+++ b/scripts/debconfig/0020-ifupdown
@@ -235,7 +235,6 @@ db_stop
cat > /etc/network/interfaces.tmp << EOF
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
-
EOF
case "${_LO_ENABLE}" in
@@ -246,6 +245,7 @@ case "${_LO_ENABLE}" in
fi
cat >> /etc/network/interfaces.tmp << EOF
+
auto lo
iface lo inet loopback
EOF
@@ -279,6 +279,7 @@ do
none)
cat >> /etc/network/interfaces.tmp << EOF
+
iface eth${_NUMBER} inet manual
EOF
@@ -287,6 +288,7 @@ EOF
dhcp)
cat >> /etc/network/interfaces.tmp << EOF
+
auto eth${_NUMBER}
iface eth${_NUMBER} inet dhcp
EOF
@@ -296,6 +298,7 @@ EOF
static)
cat >> /etc/network/interfaces.tmp << EOF
+
auto eth${_NUMBER}
iface eth${_NUMBER} inet static
address ${_ADDRESS}
--
live-debconfig
More information about the debian-live-changes
mailing list