From dbd9753a2f7cfc167c69cdf1d80a4aea184f6a65 Mon Sep 17 00:00:00 2001
From: Chris Gianelloni <wolf31o2@gentoo.org>
Date: Tue, 14 Dec 2004 23:51:28 +0000
Subject: Added -h option to dhcpcd so the hostname is sent to DHCP servers
 that support DDNS.  Blame bug #72836.

---
 src/livecd-tools/autoconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/livecd-tools/autoconfig')

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
 
-- 
cgit v1.2.3-65-gdbad