diff options
author | chip <chip> | 2001-12-14 02:52:19 +0000 |
---|---|---|
committer | chip <chip> | 2001-12-14 02:52:19 +0000 |
commit | 7ac2c918e16fd63aa81c3aeb0e4870cded076bba (patch) | |
tree | f153c3e8daa3caade41b723bd311ff9b75e755ef /debian/nfs-common.init | |
parent | 9c612925efdfecc400e17bba4797b813c7bd4052 (diff) | |
download | nfs-utils-7ac2c918e16fd63aa81c3aeb0e4870cded076bba.tar.gz nfs-utils-7ac2c918e16fd63aa81c3aeb0e4870cded076bba.tar.xz nfs-utils-7ac2c918e16fd63aa81c3aeb0e4870cded076bba.zip |
More changes in the same version:
* Use --name instead of --exec when stopping daemons;
the running binary may have been renamed or removed.
Diffstat (limited to 'debian/nfs-common.init')
-rwxr-xr-x | debian/nfs-common.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/nfs-common.init b/debian/nfs-common.init index 78edad1..31357bd 100755 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -48,11 +48,11 @@ case "$1" in then printf " lockd" start-stop-daemon --stop --oknodo --quiet \ - --exec $PREFIX/sbin/rpc.lockd + --name rpc.lockd --user 0 fi printf " statd" start-stop-daemon --stop --oknodo --quiet \ - --exec $PREFIX/sbin/rpc.statd + --name rpc.statd --user 0 echo "." ;; |