about summary refs log tree commit diff
path: root/services/nfs-server/run
diff options
context:
space:
mode:
Diffstat (limited to 'services/nfs-server/run')
-rwxr-xr-xservices/nfs-server/run28
1 files changed, 0 insertions, 28 deletions
diff --git a/services/nfs-server/run b/services/nfs-server/run
deleted file mode 100755
index ae438d7..0000000
--- a/services/nfs-server/run
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-# Make sure the statd service is running.
-sv check statd >/dev/null || exit 1
-
-# Get the nfs service parameters from the LFS standard file
-# this sets some envars.
-if [ -e /etc/conf.d/nfs-server.conf ]; then
-	. /etc/conf.d/nfs-server.conf
-fi
-
-modprobe sunrpc || exit 1
-modprobe nfs || exit 1
-modprobe nfsd || exit 1
-if ! mountpoint -q /var/lib/nfs/rpc_pipefs; then
-	mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs -o defaults || exit 1
-fi
-
-# Uncomment this and add the two daemons if you need kerberos support.
-# sv check idmapd gssd >/dev/null || exit 1
-
-if ! mountpoint -q /proc/fs/nfsd; then
-	mount -t nfsd nfsd /proc/fs/nfsd || exit 1
-fi
-exportfs -ra > /dev/null || exit 1
-rpc.nfsd -- $PROCESSES || exit 1
-
-exec rpc.mountd --foreground