mount nfsd on /proc/fs/nfs automatically
This commit is contained in:
parent
81ccc67446
commit
3ae655caa3
@ -73,6 +73,16 @@ start() {
|
|||||||
fi
|
fi
|
||||||
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
|
# Setup Kernel Support for miscellaneous Binary Formats
|
||||||
if [ -d /proc/sys/fs/binfmt_misc ] ; then
|
if [ -d /proc/sys/fs/binfmt_misc ] ; then
|
||||||
if grep -qs binfmt_misc /proc/filesystems ; then
|
if grep -qs binfmt_misc /proc/filesystems ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user