From c3873def9602199bb498727a6f78d78d0e365987 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 19 Feb 2007 03:59:55 +0000 Subject: Somehow the HOSTNAME code will lead to short write errors under unusual renew load. Comment out this code until we can figure out why this is happening. Found-by: GAndreone@imapro.com --- sbin/dhclient-script | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sbin') diff --git a/sbin/dhclient-script b/sbin/dhclient-script index 76847d4..68eb009 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -49,15 +49,15 @@ fi # check_hostname() { - current_hostname=`$HOSTNAME` - if [ -z "$current_hostname" ]; then - $LOGGER "New Hostname ($interface): $new_host_name" - $HOSTNAME $new_host_name - elif [ "$current_hostname" = "$old_host_name" -a \ - "$new_host_name" != "$old_host_name" ]; then - $LOGGER "New Hostname ($interface): $new_host_name" - $HOSTNAME $new_host_name - fi +# current_hostname=`$HOSTNAME` +# if [ -z "$current_hostname" ]; then +# $LOGGER "New Hostname ($interface): $new_host_name" +# $HOSTNAME $new_host_name +# elif [ "$current_hostname" = "$old_host_name" -a \ +# "$new_host_name" != "$old_host_name" ]; then +# $LOGGER "New Hostname ($interface): $new_host_name" +# $HOSTNAME $new_host_name +# fi } arp_flush() { -- cgit v1.1