do_modprobe nfsd
# See if our running kernel supports the NFS kernel server
- if [ -f /proc/kallsyms ] && ! grep -q nfsd_version /proc/kallsyms; then
+ if [ -f /proc/kallsyms ] && ! grep -qE 'init_nf(sd| )' /proc/kallsyms; then
echo "Not starting $DESC: no support in current kernel."
exit 0
fi