X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Fnfs-common.init;h=78edad134214dc75313490e179067785ccb0301d;hp=a9dcb5d510ec94ddc9352c3240d8e48c1c8edc7b;hb=9c612925efdfecc400e17bba4797b813c7bd4052;hpb=8c8a9fb90c606cd8fc852a60727291cf9dea051c diff --git a/debian/nfs-common.init b/debian/nfs-common.init index a9dcb5d..78edad1 100755 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -25,12 +25,10 @@ fi # What is this? DESC="NFS common utilities" -# Make sure that daemon cwds are in root fs. -cd / - # See how we were called. case "$1" in start) + cd / # daemons should have root dir as cwd printf "Starting $DESC:" printf " statd" start-stop-daemon --start --quiet \ @@ -50,7 +48,7 @@ case "$1" in then printf " lockd" start-stop-daemon --stop --oknodo --quiet \ - --name lockd --user root --signal 9 + --exec $PREFIX/sbin/rpc.lockd fi printf " statd" start-stop-daemon --stop --oknodo --quiet \