diff options
author | mtm <mtm@FreeBSD.org> | 2003-01-20 18:57:16 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-01-20 18:57:16 +0000 |
commit | 63b49e34b0350fa2f80e80e3a4c3b6adb875d9bb (patch) | |
tree | e2753a50492545995cbf9ee6fadddb75c2fab009 /etc/rc.d | |
parent | 2b430723207f8745959032e1045dfba7dead2512 (diff) | |
download | FreeBSD-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/lockd | 4 | ||||
-rwxr-xr-x | etc/rc.d/nfslocking | 4 | ||||
-rw-r--r-- | 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 |