Not everyone uses the base system sshd. They can use the sshd_program

variable in rc.conf to have sshd from ports (or somewhere else) installed.
So, don't make the sshd_config for the base system a required file
to start the service.

PR: conf/45766
This commit is contained in:
mtm 2003-07-13 01:49:07 +00:00
parent f985965120
commit e2e7d96885

View File

@ -12,12 +12,16 @@
name="sshd"
rcvar=`set_rcvar`
command="/usr/sbin/${name}"
keygen_cmd="sshd_keygen"
start_precmd="sshd_precmd"
pidfile="/var/run/${name}.pid"
required_files="/etc/ssh/sshd_config"
extra_commands="keygen reload"
case ${OSTYPE} in
NetBSD)
command="/usr/sbin/${name}"
required_files="/etc/ssh/sshd_config"
;;
esac
sshd_keygen()
{