summaryrefslogtreecommitdiffstats
path: root/debian/nfs-common.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/nfs-common.init')
-rwxr-xr-xdebian/nfs-common.init4
1 files changed, 1 insertions, 3 deletions
diff --git a/debian/nfs-common.init b/debian/nfs-common.init
index 63bc29c..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 \