summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautoconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/autoconfig b/autoconfig
index 411a774..7c205ac 100755
--- a/autoconfig
+++ b/autoconfig
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.66 2006/07/18 19:35:36 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.67 2006/08/02 01:00:16 wolf31o2 Exp $
DHCP="yes"
DETECT="yes"
@@ -311,6 +311,10 @@ start() {
-e '/^iface_eth.*dhcp.*/ s/^/#/' \
-e '/^config_eth.*dhcp.*/ s/^/#/' \
/etc/conf.d/net
+ for i in `seq 0 4`
+ do
+ echo "config_eth$i=( \"none\" )" >> /etc/conf.d/net
+ done
ewarn "Skipping DHCP broadcast detection as requested on boot commandline ..."
fi