diff options
author | wiz <wiz> | 2002-08-19 17:30:05 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-08-19 17:30:05 +0000 |
commit | d14c11842dd1f116a34c2486a699a857e46d498b (patch) | |
tree | a6c5cab65627ce85f75d6a846820065f124fceda /security/openssh | |
parent | 9ef6bcd7ffab36550af72d630b070764bc7ae9d5 (diff) | |
download | pkgsrc-d14c11842dd1f116a34c2486a699a857e46d498b.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/openssh')
-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" |