diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2009-08-28 09:08:13 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2009-08-28 09:08:13 (GMT) |
commit | 428e5178d79eb900bbe515665b2d6c6a4b0d0f89 (patch) | |
tree | 5cf7c10428f1d0afe62eeee70105bd447ea69b99 /abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd | |
parent | f6276f03790fc2302054a8242339def7b6792557 (diff) | |
parent | 568da1387066e54f0eceb57fd8f53bd0eba87974 (diff) | |
download | linhes_pkgbuild-428e5178d79eb900bbe515665b2d6c6a4b0d0f89.zip linhes_pkgbuild-428e5178d79eb900bbe515665b2d6c6a4b0d0f89.tar.gz linhes_pkgbuild-428e5178d79eb900bbe515665b2d6c6a4b0d0f89.tar.bz2 |
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd')
-rwxr-xr-x | abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd/run | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd/run index d8435a6..3b63077 100755 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd/run +++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/nfsd/run @@ -1,5 +1,9 @@ #!/bin/bash exec 2>&1 +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting NFSD" # Make sure the statd daemon is up # (the statd service must ensure portmap is running first) @@ -11,12 +15,15 @@ source /etc/conf.d/nfs /usr/sbin/exportfs -ra > /dev/null 2>/dev/null # start some nfsd threads +printhl " Using ${NFSD_OPTS} " /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 +printhl " mount nfsd" /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 |