summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-08-02 01:00:16 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-08-02 01:00:16 +0000
commit739831f93973af22b4c02d9abba637244411c1a6 (patch)
treebec794f23a62d9036175abbe432e01aa0eb164da /src
parentUpdating outdated list (diff)
downloadgentoo-739831f93973af22b4c02d9abba637244411c1a6.tar.gz
gentoo-739831f93973af22b4c02d9abba637244411c1a6.tar.bz2
gentoo-739831f93973af22b4c02d9abba637244411c1a6.zip
Added code to make autoconfig disable DHCP properly.
Diffstat (limited to 'src')
-rw-r--r--src/livecd-tools/autoconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/livecd-tools/autoconfig b/src/livecd-tools/autoconfig
index 411a77404d..7c205acd9c 100644
--- a/src/livecd-tools/autoconfig
+++ b/src/livecd-tools/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