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