procfs: drop nfsd mounting
The dedicated nfs init.d script takes care of mounting this when necessary, and we want it there since mounting it isn't terribly useful if you can't actually start up the nfs daemons (which the nfs-utils package provides). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
47d305d2af
commit
f52dca6984
@ -37,16 +37,6 @@ start()
|
||||
fi
|
||||
fi
|
||||
|
||||
# Setup Kernel Support for the NFS daemon status
|
||||
if [ -d /proc/fs/nfsd ] && ! mountinfo -q /proc/fs/nfsd; then
|
||||
if grep -qs nfsd /proc/filesystems; then
|
||||
ebegin "Mounting NFS 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 ] \
|
||||
&& ! mountinfo -q /proc/sys/fs/binfmt_misc; then
|
||||
|
Loading…
Reference in New Issue
Block a user