diff options
author | kroeckx <kroeckx@0070b5ef-2f16-0410-befa-9a02bd1d6ddb> | 2010-07-03 15:54:42 +0000 |
---|---|---|
committer | kroeckx <kroeckx@0070b5ef-2f16-0410-befa-9a02bd1d6ddb> | 2010-07-03 15:54:42 +0000 |
commit | a1ab725aaebe2a62b654a17f09e9265557a91b2a (patch) | |
tree | 92b80a27d8fa90c6a6a8945635ce71c98f74ab47 /debian/ntp.postrm | |
parent | 00e8f0b6eaa9e5f6f66cf17ce4bacc7bd5e404b7 (diff) | |
download | ntp-a1ab725aaebe2a62b654a17f09e9265557a91b2a.tar.gz |
Move dhcp exit hooks
git-svn-id: svn://svn.debian.org/pkg-ntp/ntp/trunk@318 0070b5ef-2f16-0410-befa-9a02bd1d6ddb
Diffstat (limited to 'debian/ntp.postrm')
-rw-r--r-- | debian/ntp.postrm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/ntp.postrm b/debian/ntp.postrm index 9e11aff..d959aa5 100644 --- a/debian/ntp.postrm +++ b/debian/ntp.postrm @@ -11,6 +11,13 @@ if dpkg-maintscript-helper supports rm_conffile; then /etc/network/if-up.d/ntp 1:4.2.6+dfsg-1 -- "$@" fi +if dpkg-maintscript-helper supports mv_conffile; then + dpkg-maintscript-helper mv_conffile \ + /etc/dhcp3/dhclient-exit-hooks.d/ntp \ + /etc/dhcp/dhclient-exit-hooks.d/ntp \ + 1:4.2.6.p1+dfsg-1 -- "$@" +fi + installinit_error() { exit $? } |