summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-04-13 13:19:58 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-04-13 13:19:58 +0000
commit1158040ae1a58a11975a0a54bf80ff5d2c56b733 (patch)
treeaf28c3456cc0621c0b489b630c44f0e649860a7f /net-setup
parentAdded bashlogin and livecd-functions.sh from baselayout. Cleaned up ALSA sup... (diff)
downloadlivecd-tools-1158040ae1a58a11975a0a54bf80ff5d2c56b733.tar.gz
livecd-tools-1158040ae1a58a11975a0a54bf80ff5d2c56b733.tar.bz2
livecd-tools-1158040ae1a58a11975a0a54bf80ff5d2c56b733.zip
Fixing broken dhcpcd hostnames.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@47 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'net-setup')
-rwxr-xr-xnet-setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-setup b/net-setup
index 2a75801..5c697ee 100755
--- a/net-setup
+++ b/net-setup
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/livecd-tools/net-setup,v 1.14 2005/04/12 21:25:21 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/livecd-tools/net-setup,v 1.15 2005/04/13 13:19:58 wolf31o2 Exp $
#!/bin/bash
@@ -63,7 +63,7 @@ config_ip() {
DHCP=`cat ${iface}.DHCP`
case ${DHCP} in
1)
- /sbin/dhcpcd -t 10 ${iface} &
+ /sbin/dhcpcd -t 10 -h $(hostname) ${iface} &
;;
2)
dialog --title "IP address" --inputbox "Please enter an IP address for ${iface}:" 20 50 "192.168.1.1" 2> ${iface}.IP