svn commit: r249489 - head/etc/rc.d
Bryan Drewery
bdrewery at FreeBSD.org
Sun Apr 14 21:11:20 UTC 2013
Author: bdrewery (ports committer)
Date: Sun Apr 14 21:11:19 2013
New Revision: 249489
URL: http://svnweb.freebsd.org/changeset/base/249489
Log:
Run configtest before restarting so that the system is not
left without a running sshd.
Approved by: des
MFC after: 1 week
Modified:
head/etc/rc.d/sshd
Modified: head/etc/rc.d/sshd
==============================================================================
--- head/etc/rc.d/sshd Sun Apr 14 20:03:48 2013 (r249488)
+++ head/etc/rc.d/sshd Sun Apr 14 21:11:19 2013 (r249489)
@@ -14,6 +14,7 @@ rcvar="sshd_enable"
command="/usr/sbin/${name}"
keygen_cmd="sshd_keygen"
start_precmd="sshd_precmd"
+restart_precmd="sshd_configtest"
configtest_cmd="sshd_configtest"
pidfile="/var/run/${name}.pid"
extra_commands="configtest keygen reload"
More information about the svn-src-all
mailing list