mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 03:39:02 +00:00
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
857d9c60d0
commit
1cb7d2af50
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117495
@ -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