From 3ae655caa3b940c8c5c17b082050fa8c0782ba22 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 12 May 2007 11:07:04 +0000 Subject: mount nfsd on /proc/fs/nfs automatically --- init.d/localmount | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init.d/localmount b/init.d/localmount index f57cfba0..2a17b110 100755 --- a/init.d/localmount +++ b/init.d/localmount @@ -73,6 +73,16 @@ start() { fi fi + # Setup Kernel Support for the NFS daemon status + if [ -d /proc/fs/nfsd ] ; then + if grep -qs nfsd /proc/filesystems ; then + ebegin "Mounting nfsd filesystem" + mount -t nfsd -o nodev,noexec,nosuid \ + nfsd /proc/fs/nfsd + eend $? + fi + fi + # Setup Kernel Support for miscellaneous Binary Formats if [ -d /proc/sys/fs/binfmt_misc ] ; then if grep -qs binfmt_misc /proc/filesystems ; then -- cgit v1.2.3