X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Fnfs-common.postinst;fp=debian%2Fnfs-common.postinst;h=96aa3912be4c7494f58125efaaa17af3457dcab9;hp=866c066186302b3ee5bd454dbdacd3d3e2afdf82;hb=e33bb1e6e294315dfdc6ac665772e029ebbfced8;hpb=c7443bc6bafc48e0ef79200b51eeb17b897bf60d diff --git a/debian/nfs-common.postinst b/debian/nfs-common.postinst index 866c066..96aa391 100644 --- a/debian/nfs-common.postinst +++ b/debian/nfs-common.postinst @@ -2,8 +2,6 @@ set -e -#DEBHELPER# - case "$1" in configure) ucf --three-way /usr/share/nfs-common/conffiles/idmapd.conf /etc/idmapd.conf @@ -12,7 +10,6 @@ case "$1" in if [ "$2" != "" ] && dpkg --compare-versions "$2" lt 1:1.1.0-10; then update-rc.d -f nfs-common remove >/dev/null fi - update-rc.d nfs-common start 20 2 3 4 5 . stop 20 0 1 6 . start 44 S . >/dev/null if ! getent passwd statd >/dev/null; then adduser --system --home /var/lib/nfs --no-create-home statd @@ -44,6 +41,4 @@ case "$1" in ;; esac -act="restart" -[ "$1:$2" = "configure:" ] && act="start" -invoke-rc.d nfs-common $act +#DEBHELPER#