From: Jo-Philipp Wich Date: Fri, 18 Dec 2009 19:32:59 +0000 (+0000) Subject: nfs-kernel-server: also create /var/lib/nfs/sm in init (#6099) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6803eefd637e0507c5383d688ec9071e22364613;p=openwrt%2Fsvn-archive%2Fpackages.git nfs-kernel-server: also create /var/lib/nfs/sm in init (#6099) SVN-Revision: 18841 --- diff --git a/net/nfs-kernel-server/files/nfsd.init b/net/nfs-kernel-server/files/nfsd.init index a5062c302..6d9ebfc9f 100644 --- a/net/nfs-kernel-server/files/nfsd.init +++ b/net/nfs-kernel-server/files/nfsd.init @@ -3,11 +3,13 @@ START=60 NFS_D=/var/lib/nfs +LOCK_D=/var/lib/nfs/sm start() { mkdir -p $NFS_D + mkdir -p $LOCK_D touch $NFS_D/rmtab - + /usr/sbin/rpc.statd /usr/sbin/exportfs -r /usr/sbin/rpc.nfsd