aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.d/localmount10
1 files changed, 10 insertions, 0 deletions
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