summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock')
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/nfslock/run6
1 files changed, 5 insertions, 1 deletions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock/run
index 0ec6f75..8d627ad 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/nfslock/run
@@ -1,4 +1,8 @@
#!/bin/bash
exec 2>&1
-sv start portmap >/dev/null 2>/dev/null
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting NFSlock"
+svwaitup portmap >/dev/null 2>/dev/null
/usr/sbin/rpc.statd -F >/dev/null 2>/dev/null