diff options
Diffstat (limited to 'debian/nfs-common.postinst')
-rwxr-xr-x | debian/nfs-common.postinst | 7 |
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 |