aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable/files
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-06-22 23:11:30 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-06-22 23:11:30 +0800
commitf9d2aaf7c3dcc4299c7f1e739bcad3eb3ee47ca6 (patch)
tree156ebc3c682234a40ea844ae7a07ac6deaa758ce /security/openssh-portable/files
parentaabb8a9619fd7a32d7f8690c17c4b4758d1df388 (diff)
downloadfreebsd-ports-gnome-f9d2aaf7c3dcc4299c7f1e739bcad3eb3ee47ca6.tar.gz
freebsd-ports-gnome-f9d2aaf7c3dcc4299c7f1e739bcad3eb3ee47ca6.tar.zst
freebsd-ports-gnome-f9d2aaf7c3dcc4299c7f1e739bcad3eb3ee47ca6.zip
- In rc script, be consistent in reload and check for and generate keys
if needed, as well as checking for port collision with base sshd. Reported by: delphij
Diffstat (limited to 'security/openssh-portable/files')
-rw-r--r--security/openssh-portable/files/openssh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/openssh-portable/files/openssh.in b/security/openssh-portable/files/openssh.in
index f55233d8568c..32b8b3519ad3 100644
--- a/security/openssh-portable/files/openssh.in
+++ b/security/openssh-portable/files/openssh.in
@@ -27,7 +27,7 @@ load_rc_config ${name}
command=%%PREFIX%%/sbin/sshd
extra_commands="configtest reload keygen"
start_precmd="${name}_checks"
-reload_precmd="${name}_configtest"
+reload_precmd="${name}_checks"
restart_precmd="${name}_checks"
configtest_cmd="${name}_configtest"
keygen_cmd="${name}_keygen"