summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit/runitscripts/services/nfsd/run
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-11 19:30:47 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-11 19:30:47 (GMT)
commit9431f7ae609b0877b403bad9db39aed4df159229 (patch)
treeff95f8397492cb577d8c725f90cd9503d499d5a5 /abs/core-testing/runit/runitscripts/services/nfsd/run
parentdf5646446d84f38b695f00706a57b4c851be462a (diff)
downloadlinhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.zip
linhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.tar.gz
linhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.tar.bz2
move the runit init scripts into their own package.
Diffstat (limited to 'abs/core-testing/runit/runitscripts/services/nfsd/run')
-rwxr-xr-xabs/core-testing/runit/runitscripts/services/nfsd/run22
1 files changed, 0 insertions, 22 deletions
diff --git a/abs/core-testing/runit/runitscripts/services/nfsd/run b/abs/core-testing/runit/runitscripts/services/nfsd/run
deleted file mode 100755
index 6610fe9..0000000
--- a/abs/core-testing/runit/runitscripts/services/nfsd/run
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-exec 2>&1
-
-# Make sure the statd daemon is up
-# (the statd service must ensure portmap is running first)
-svwaitup /var/service/nfslock >/dev/null 2>/dev/null
-
-source /etc/conf.d/nfsd
-
-# Re-export all directories in /etc/exports
-/usr/sbin/exportfs -ra > /dev/null 2>/dev/null
-
-# start some nfsd threads
-/usr/sbin/rpc.nfsd -p ${NFSD_OPTS} >/dev/null 2>/dev/null
-
-# since we are running kernel 2.6 we should also
-# mount the nfsd virtual filesystem
-/bin/mount -t nfsd none /proc/fs/nfsd >/dev/null 2>/dev/null
-
-# Start the rpc.mountd daemon
-exec /usr/sbin/rpc.mountd --foreground >/dev/null 2>/dev/null
-