summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-08-01 23:40:30 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-08-01 23:40:30 +0000
commit58a17b09ad0a84052cf63618fa99305e4dc40162 (patch)
tree983b3c02b6e01a5c5e22854125beb55bca421caa /src/livecd-tools/autoconfig
parentBugfixes. (diff)
downloadgentoo-58a17b09ad0a84052cf63618fa99305e4dc40162.tar.gz
gentoo-58a17b09ad0a84052cf63618fa99305e4dc40162.tar.bz2
gentoo-58a17b09ad0a84052cf63618fa99305e4dc40162.zip
Making dhcpcd call use -n to remove any possible errors from dhcpcd being started during hotplug.
Diffstat (limited to 'src/livecd-tools/autoconfig')
-rw-r--r--src/livecd-tools/autoconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livecd-tools/autoconfig b/src/livecd-tools/autoconfig
index b915fdff39..d9ba03c567 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.37 2005/07/24 03:01:24 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.38 2005/08/01 23:40:30 wolf31o2 Exp $
DHCP="yes"
DETECT="yes"
@@ -219,7 +219,7 @@ start() {
if [ "${DHCP}" = "yes" ]
then
ebegin ${GOOD}"Network device${HILITE}${NETDEVICES}${GOOD} detected,${WARN} DHCP broadcasting for IP.${NORMAL}"
- dhcpcd -h $(hostname) &
+ dhcpcd -n -h $(hostname) &
fi
eend