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:
Mike Makonnen 2003-07-13 01:49:07 +00:00
parent 857d9c60d0
commit 1cb7d2af50
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117495

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()
{