summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-01-20 18:57:16 +0000
committermtm <mtm@FreeBSD.org>2003-01-20 18:57:16 +0000
commit63b49e34b0350fa2f80e80e3a4c3b6adb875d9bb (patch)
treee2753a50492545995cbf9ee6fadddb75c2fab009 /etc/rc.d
parent2b430723207f8745959032e1045dfba7dead2512 (diff)
downloadFreeBSD-src-63b49e34b0350fa2f80e80e3a4c3b6adb875d9bb.zip
FreeBSD-src-63b49e34b0350fa2f80e80e3a4c3b6adb875d9bb.tar.gz
Add a missing OR.
Approved by: markm (mentor)(implicit)
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/lockd4
-rwxr-xr-xetc/rc.d/nfslocking4
-rw-r--r--etc/rc.d/statd4
3 files changed, 6 insertions, 6 deletions
diff --git a/etc/rc.d/lockd b/etc/rc.d/lockd
index c39c0a7..c250f94 100644
--- a/etc/rc.d/lockd
+++ b/etc/rc.d/lockd
@@ -28,8 +28,8 @@ NetBSD)
;;
esac
-start_precmd="checkyesno ${RCVAR_SERVER} || checkyesno ${RCVAR_CLIENT}
- [ -n "$rc_force" ]"
+start_precmd='checkyesno ${RCVAR_SERVER} || checkyesno ${RCVAR_CLIENT} ||
+ [ -n "$rc_force" ]'
stop_precmd=$start_precmd
status_precmd=$start_precmd
diff --git a/etc/rc.d/nfslocking b/etc/rc.d/nfslocking
index c39c0a7..c250f94 100755
--- a/etc/rc.d/nfslocking
+++ b/etc/rc.d/nfslocking
@@ -28,8 +28,8 @@ NetBSD)
;;
esac
-start_precmd="checkyesno ${RCVAR_SERVER} || checkyesno ${RCVAR_CLIENT}
- [ -n "$rc_force" ]"
+start_precmd='checkyesno ${RCVAR_SERVER} || checkyesno ${RCVAR_CLIENT} ||
+ [ -n "$rc_force" ]'
stop_precmd=$start_precmd
status_precmd=$start_precmd
diff --git a/etc/rc.d/statd b/etc/rc.d/statd
index c39c0a7..c250f94 100644
--- a/etc/rc.d/statd
+++ b/etc/rc.d/statd
@@ -28,8 +28,8 @@ NetBSD)
;;
esac
-start_precmd="checkyesno ${RCVAR_SERVER} || checkyesno ${RCVAR_CLIENT}
- [ -n "$rc_force" ]"
+start_precmd='checkyesno ${RCVAR_SERVER} || checkyesno ${RCVAR_CLIENT} ||
+ [ -n "$rc_force" ]'
stop_precmd=$start_precmd
status_precmd=$start_precmd
OpenPOWER on IntegriCloud