summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/nfslocking
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/nfslocking')
-rwxr-xr-xetc/rc.d/nfslocking6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.d/nfslocking b/etc/rc.d/nfslocking
index bddec82..a9efc31 100755
--- a/etc/rc.d/nfslocking
+++ b/etc/rc.d/nfslocking
@@ -1,16 +1,18 @@
#!/bin/sh
#
-# $NetBSD: nfslocking,v 1.3 2000/05/13 08:45:07 lukem Exp $
+# $NetBSD: nfslocking,v 1.5 2002/03/22 04:33:59 thorpej Exp $
#
# PROVIDE: nfslocking
# REQUIRE: nfsd
+# BEFORE: DAEMON
. /etc/rc.subr
arg=$1
-start_precmd='checkyesno nfs_server || checkyesno nfs_client'
+start_precmd='checkyesno nfs_server || checkyesno nfs_client ||
+ [ -n "$rc_force" ]'
stop_precmd=$start_precmd
status_precmd=$start_precmd
OpenPOWER on IntegriCloud