[packages] nfs-kernel-server: also create /var/lib/nfs/sm in init (#6099)
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 18 Dec 2009 19:32:59 +0000 (19:32 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 18 Dec 2009 19:32:59 +0000 (19:32 +0000)
SVN-Revision: 18841

net/nfs-kernel-server/files/nfsd.init

index a5062c30219cc6ddb35e33f83f63f30cfcfa1db4..6d9ebfc9f2e777e6490ad932194bcf4db16ae3f4 100644 (file)
@@ -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