diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-04-13 13:19:58 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-04-13 13:19:58 +0000 |
commit | 1158040ae1a58a11975a0a54bf80ff5d2c56b733 (patch) | |
tree | af28c3456cc0621c0b489b630c44f0e649860a7f /net-setup | |
parent | Added bashlogin and livecd-functions.sh from baselayout. Cleaned up ALSA sup... (diff) | |
download | livecd-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-x | net-setup | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |