[pkg-dhcp-commits] [SCM] ISC DHCP packaging for Debian branch, master, updated. debian/4.1.0-1-30-g5befac9
Andrew Pollock
apollock at debian.org
Mon Aug 31 01:25:05 UTC 2009
The following commit has been merged in the master branch:
commit 5befac94809191d56e3c0af13826a89cb08d1759
Author: Andrew Pollock <apollock at debian.org>
Date: Sun Aug 30 18:02:38 2009 -0700
Also transfer the client's config when upgrading from dhcp3-client
diff --git a/debian/changelog b/debian/changelog
index 0796fe8..1adcb46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,9 @@ isc-dhcp (4.1.0-1) unstable; urgency=low
* add debian/README.source
* debian/control: bumped Standards-Version
* debian/isc-dhcp-server.postinst: transfer existing config and lease files when upgrading from dhcp3-server
+ * debian/isc-dhcp-client.postinst: transfer existing config file when upgrading from dhcp3-client
- -- Andrew Pollock <apollock at debian.org> Sun, 30 Aug 2009 16:58:49 -0700
+ -- Andrew Pollock <apollock at debian.org> Sun, 30 Aug 2009 18:02:09 -0700
dhcp3 (3.1.2-1) unstable; urgency=low
diff --git a/debian/isc-dhcp-client.postinst b/debian/isc-dhcp-client.postinst
index bcc43ab..a408a5a 100644
--- a/debian/isc-dhcp-client.postinst
+++ b/debian/isc-dhcp-client.postinst
@@ -15,6 +15,12 @@ case "$1" in
fi
fi
+ if [ -z "$2" ]; then
+ if [ -e /etc/dhcp3/dhclient.conf ]; then
+ cp /etc/dhcp3/dhclient.conf /etc/dhcp/dhclient.conf
+ fi
+ fi
+
;;
abort-upgrade|abort-remove|abort-deconfigure)
--
ISC DHCP packaging for Debian
More information about the pkg-dhcp-commits
mailing list