summaryrefslogtreecommitdiff
path: root/packages/nfs-utils/files/nfsserver
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nfs-utils/files/nfsserver')
-rw-r--r--packages/nfs-utils/files/nfsserver2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/nfs-utils/files/nfsserver b/packages/nfs-utils/files/nfsserver
index bb16806ed9..4ff75916d0 100644
--- a/packages/nfs-utils/files/nfsserver
+++ b/packages/nfs-utils/files/nfsserver
@@ -2,6 +2,8 @@
#
# Startup script for nfs-utils
#
+# The nfsd kernel module must exist along with its dependencies
+modprobe -n nfsd || exit 0
#
# The environment variable NFS_SERVERS may be set in /etc/default/nfsd
# Other control variables may be overridden here too