From: Peter Wagner <​tripolar@gmx.at> Date: Wed, 9 Nov 2011 17:02:55 +0000 (+0000) Subject: nfsd: only demonize and write pid for rpc.mountd X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2c53e92b9f0e35f520269837dd2b04d358a5585e;p=openwrt%2Fsvn-archive%2Fpackages.git nfsd: only demonize and write pid for rpc.mountd SVN-Revision: 28884 --- diff --git a/net/nfs-kernel-server/files/nfsd.init b/net/nfs-kernel-server/files/nfsd.init index b2bb51db1..619eb9160 100644 --- a/net/nfs-kernel-server/files/nfsd.init +++ b/net/nfs-kernel-server/files/nfsd.init @@ -4,8 +4,7 @@ START=60 STOP=60 -SERVICE_DAEMONIZE=1 -SERVICE_WRITE_PID=1 +SERVICE_USE_PID=1 NFS_D=/var/lib/nfs LOCK_D=/var/lib/nfs/sm @@ -21,6 +20,8 @@ start() { service_start /usr/sbin/rpc.statd -p 32778 -o 32779 /usr/sbin/exportfs -r /usr/sbin/rpc.nfsd + SERVICE_WRITE_PID=1 \ + SERVICE_DAEMONIZE=1 \ service_start /usr/sbin/rpc.mountd -p 32780 -F }