[pkg-dhcp-commits] [SCM] ISC DHCP packaging for Debian branch, master, updated. debian/4.1.1-P1-16.1-14-g02638d8
Andrew Pollock
apollock at debian.org
Thu May 19 05:53:09 UTC 2011
The following commit has been merged in the master branch:
commit fc06330ead24a094d2f3583c675578053dcac307
Author: Peter Marschall <peter at adpm.de>
Date: Sat Jan 8 13:46:05 2011 +0100
dhclient-script.{linux,kfreebsd}: fix setting of hostname
Signed-off-by: Peter Marschall <peter at adpm.de>
diff --git a/debian/dhclient-script.kfreebsd b/debian/dhclient-script.kfreebsd
index ea03628..2f49165 100644
--- a/debian/dhclient-script.kfreebsd
+++ b/debian/dhclient-script.kfreebsd
@@ -132,8 +132,8 @@ case "$reason" in
;;
BOUND|RENEW|REBIND|REBOOT)
- if [ -n "$old_host_name" ] && [ -n "$host_name" ] &&
- [ "$host_name" != "$old_host_name" ]; then
+ if [ -n "$old_host_name" ] && [ -n "$new_host_name" ] &&
+ [ "$old_host_name" != "$new_host_name" ]; then
hostname "$new_host_name"
fi
diff --git a/debian/dhclient-script.linux b/debian/dhclient-script.linux
index d065140..811a307 100644
--- a/debian/dhclient-script.linux
+++ b/debian/dhclient-script.linux
@@ -156,8 +156,8 @@ case "$reason" in
;;
BOUND|RENEW|REBIND|REBOOT)
- if [ -n "$old_host_name" ] && [ -n "$host_name" ] &&
- [ "$host_name" != "$old_host_name" ]; then
+ if [ -n "$old_host_name" ] && [ -n "$new_host_name" ] &&
+ [ "$old_host_name" != "$new_host_name" ]; then
hostname "$new_host_name"
fi
--
ISC DHCP packaging for Debian
More information about the pkg-dhcp-commits
mailing list