Author: bdrewery (ports committer) Date: Thu May 2 21:51:57 2013 New Revision: 250196 URL: http://svnweb.freebsd.org/changeset/base/250196
Log: MFC r249489,249555 Run configtest before restarting so that the system is not left without a running sshd. Also call configtest before reload to ensure working config. Modified: stable/8/etc/rc.d/sshd Directory Properties: stable/8/etc/ (props changed) Modified: stable/8/etc/rc.d/sshd ============================================================================== --- stable/8/etc/rc.d/sshd Thu May 2 21:49:43 2013 (r250195) +++ stable/8/etc/rc.d/sshd Thu May 2 21:51:57 2013 (r250196) @@ -14,6 +14,8 @@ rcvar="sshd_enable" command="/usr/sbin/${name}" keygen_cmd="sshd_keygen" start_precmd="sshd_precmd" +reload_precmd="sshd_configtest" +restart_precmd="sshd_configtest" configtest_cmd="sshd_configtest" pidfile="/var/run/${name}.pid" extra_commands="configtest keygen reload" _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"