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:
parent
f985965120
commit
e2e7d96885
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user