summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-19 03:59:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-19 03:59:55 +0000
commitc3873def9602199bb498727a6f78d78d0e365987 (patch)
treee8d6875aa547669edcff61d93d41597799600bb7 /sbin
parent79e9b652546c2fb868f088179c26d4b126504e18 (diff)
downloadpfsense-c3873def9602199bb498727a6f78d78d0e365987.zip
pfsense-c3873def9602199bb498727a6f78d78d0e365987.tar.gz
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
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script18
1 files changed, 9 insertions, 9 deletions
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() {
OpenPOWER on IntegriCloud