From 63b49e34b0350fa2f80e80e3a4c3b6adb875d9bb Mon Sep 17 00:00:00 2001 From: mtm Date: Mon, 20 Jan 2003 18:57:16 +0000 Subject: Add a missing OR. Approved by: markm (mentor)(implicit) --- etc/rc.d/lockd | 4 ++-- etc/rc.d/nfslocking | 4 ++-- etc/rc.d/statd | 4 ++-- 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 -- cgit v1.1