summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-12-14 23:51:28 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-12-14 23:51:28 +0000
commitdbd9753a2f7cfc167c69cdf1d80a4aea184f6a65 (patch)
tree19d6b4570111865414163a935afa889e3f7676f1 /src/livecd-tools/autoconfig
parentUpdated livecd-stage2 example file. (diff)
downloadgentoo-dbd9753a2f7cfc167c69cdf1d80a4aea184f6a65.tar.gz
gentoo-dbd9753a2f7cfc167c69cdf1d80a4aea184f6a65.tar.bz2
gentoo-dbd9753a2f7cfc167c69cdf1d80a4aea184f6a65.zip
Added -h option to dhcpcd so the hostname is sent to DHCP servers that support DDNS. Blame bug #72836.
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 89e6880861..3272ecaad8 100644
--- a/src/livecd-tools/autoconfig
+++ b/src/livecd-tools/autoconfig
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.11 2004/11/25 04:42:53 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/livecd-tools/autoconfig,v 1.12 2004/12/14 23:51:28 wolf31o2 Exp $
echo "0" > /proc/sys/kernel/printk
DHCP="yes"
@@ -123,7 +123,7 @@ start() {
if [ -n "${NETDEVICES}" ]; then
if [ "${DHCP}" = "yes" ]; then
ebegin ${GOOD}"Network device${HILITE}${NETDEVICES}${GOOD} detected,${WARN} DHCP broadcasting for IP.${NORMAL}"
- dhcpcd &
+ dhcpcd -h `basename hostname` &
fi
eend