# 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 \
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 "."
;;