Re: svn commit: r249489 - head/etc/rc.d

2013-04-16 Thread John Baldwin
On Sunday, April 14, 2013 5:11:20 pm Bryan Drewery wrote:
 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

Maybe do the same for 'reload' as well?

-- 
John Baldwin
___
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


Re: svn commit: r249489 - head/etc/rc.d

2013-04-16 Thread Bryan Drewery
On 4/16/2013 11:20 AM, John Baldwin wrote:
 On Sunday, April 14, 2013 5:11:20 pm Bryan Drewery wrote:
 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
 
 Maybe do the same for 'reload' as well?
 

Done.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


svn commit: r249489 - head/etc/rc.d

2013-04-14 Thread Bryan Drewery
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
___
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