summaryrefslogtreecommitdiffstats
path: root/debian/nfs-common.postinst
diff options
context:
space:
mode:
authorchip <chip>2004-03-18 21:45:34 +0000
committerchip <chip>2004-03-18 21:45:34 +0000
commitd0131f1c645c57b914a38bbd7c651f3a546129ee (patch)
treef196f1fd9b2ee39cdb250db8325bb2803e9ba2f0 /debian/nfs-common.postinst
parent2612111fe0855f19820803f53ce0447c9b26a52a (diff)
downloadnfs-utils-d0131f1c645c57b914a38bbd7c651f3a546129ee.tar.gz
nfs-utils-d0131f1c645c57b914a38bbd7c651f3a546129ee.tar.xz
nfs-utils-d0131f1c645c57b914a38bbd7c651f3a546129ee.zip
* Make /etc/exports a conffile. (closes: #224557)
* Remove debconf warning notes in favor of nfs-kernel-server.NEWS. (closes: #228365) * Don't bother removing nfs-server's init links; it's long dead.
Diffstat (limited to 'debian/nfs-common.postinst')
-rwxr-xr-xdebian/nfs-common.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/nfs-common.postinst b/debian/nfs-common.postinst
index a69cf6a..5af4731 100755
--- a/debian/nfs-common.postinst
+++ b/debian/nfs-common.postinst
@@ -12,6 +12,13 @@ case "$1" in
update-rc.d -f nfs-common remove >/dev/null 2>&1 || true
fi
update-rc.d nfs-common defaults 21 79 >/dev/null
+
+ # Remove obsolete debconf questions
+ if [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ db_unregister nfs-common/tcpwrappers-statd || true
+ db_stop
+ fi
;;
esac