aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-21 19:47:19 +0000
committerBill Nottingham <notting@redhat.com>2005-04-21 19:47:19 +0000
commit22d2e71dd687dff68f8b9dc718d7c0e3e0bd3850 (patch)
treeeebcdc6fd8db850847c33e71f9c64276e89a1907
parent80ad7868763b9ef2e12154f32f81bcf53685126d (diff)
downloadinitscripts-22d2e71dd687dff68f8b9dc718d7c0e3e0bd3850.tar
initscripts-22d2e71dd687dff68f8b9dc718d7c0e3e0bd3850.tar.gz
initscripts-22d2e71dd687dff68f8b9dc718d7c0e3e0bd3850.tar.bz2
initscripts-22d2e71dd687dff68f8b9dc718d7c0e3e0bd3850.tar.xz
initscripts-22d2e71dd687dff68f8b9dc718d7c0e3e0bd3850.zip
don't send dhcp hostname (revert of fix for #149667)
-rwxr-xr-xsysconfig/network-scripts/ifup-eth3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index c5ca4572..63b1e1e3 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -141,9 +141,6 @@ if [ -n "${DYNCONFIG}" -a -x /sbin/dhclient ]; then
else
ONESHOT="-1";
fi;
- if ! need_hostname && [ -z "${DHCP_HOSTNAME}" ]; then
- DHCP_HOSTNAME=`hostname`
- fi
if [ -n "${DHCP_HOSTNAME}" ]; then
# Send a host-name to the DHCP server (requ. by some dhcp servers).
if [ -w /etc/dhclient-${DEVICE}.conf ] ; then