diff options
author | wiz <wiz@pkgsrc.org> | 2002-08-19 17:30:05 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-08-19 17:30:05 +0000 |
commit | e439f721d694c8e99c38c2d53d8b6ad345ef69ff (patch) | |
tree | a6c5cab65627ce85f75d6a846820065f124fceda /security | |
parent | ce1ba0b1d278de53dfdaf9203ba5ea5b2300213e (diff) | |
download | pkgsrc-e439f721d694c8e99c38c2d53d8b6ad345ef69ff.tar.gz |
Fix test for rc.d in configure script, so that this works on 1.4.x.
Gleaned from apache's startup script.
Diffstat (limited to 'security')
-rw-r--r-- | security/openssh/files/sshd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/openssh/files/sshd.sh b/security/openssh/files/sshd.sh index e05a74d4d73..69612516b67 100644 --- a/security/openssh/files/sshd.sh +++ b/security/openssh/files/sshd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: sshd.sh,v 1.8 2002/04/02 10:14:42 seb Exp $ +# $NetBSD: sshd.sh,v 1.9 2002/08/19 17:30:05 wiz Exp $ # # PROVIDE: sshd # REQUIRE: DAEMON LOGIN @@ -57,7 +57,7 @@ sshd_precmd() keygen_cmd=sshd_keygen start_precmd=sshd_precmd -if [ -f /etc/rc.subr ] +if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ] then load_rc_config $name run_rc_command "$1" |