aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Fellinger <m.fellinger@gmail.com>2013-03-05 19:25:24 +0100
committerMichael Fellinger <m.fellinger@gmail.com>2013-03-05 19:25:24 +0100
commit2a9b6d5f9841a8f3a4f63db19f00c9f73c244c32 (patch)
tree007b4a5182b7e5e3d9628cb600c1eb6616e09f74
parente3df839fbd74b531daa403bb370d7d612769c764 (diff)
downloadrunit-services-2a9b6d5f9841a8f3a4f63db19f00c9f73c244c32.zip
runit-services-2a9b6d5f9841a8f3a4f63db19f00c9f73c244c32.tar.gz
runit-services-2a9b6d5f9841a8f3a4f63db19f00c9f73c244c32.tar.bz2
fix default and var name for $NFSD_COUNT
-rwxr-xr-xetc/sv/nfs-server/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/sv/nfs-server/run b/etc/sv/nfs-server/run
index 8d0f93e..8b1b7a1 100755
--- a/etc/sv/nfs-server/run
+++ b/etc/sv/nfs-server/run
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#!/bin/bash
exec 2>&1
@@ -28,7 +28,7 @@ echo "Re-export all directories in /etc/exports"
/usr/sbin/exportfs -ra > /dev/null
echo "start some nfsd threads"
-/usr/sbin/rpc.nfsd -- $PROCESSES
+/usr/sbin/rpc.nfsd -- ${NFSD_COUNT:-8}
echo "Start the rpc.mountd daemon"
exec /usr/sbin/rpc.mountd --foreground