From 22d2e71dd687dff68f8b9dc718d7c0e3e0bd3850 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 21 Apr 2005 19:47:19 +0000 Subject: don't send dhcp hostname (revert of fix for #149667) --- sysconfig/network-scripts/ifup-eth | 3 --- 1 file changed, 3 deletions(-) (limited to 'sysconfig/network-scripts') 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 -- cgit v1.2.1