svn commit: r216569 - stable/7/etc/rc.d

Doug Barton dougb at FreeBSD.org
Sun Dec 19 20:11:21 UTC 2010


Author: dougb
Date: Sun Dec 19 20:11:21 2010
New Revision: 216569
URL: http://svn.freebsd.org/changeset/base/216569

Log:
  MFC r215824:
  
  Add a sync to the shutdown step. In the common case this will be
  harmless at worst. On a heavily loaded server it will give the fs a
  chance to do its business without the axe hanging over its head.
  
  Submitted by:   ivoras
  
  Approved by:    re (kib)

Modified:
  stable/7/etc/rc.d/mountcritlocal
Directory Properties:
  stable/7/etc/   (props changed)

Modified: stable/7/etc/rc.d/mountcritlocal
==============================================================================
--- stable/7/etc/rc.d/mountcritlocal	Sun Dec 19 20:10:48 2010	(r216568)
+++ stable/7/etc/rc.d/mountcritlocal	Sun Dec 19 20:11:21 2010	(r216569)
@@ -5,13 +5,13 @@
 
 # PROVIDE: mountcritlocal
 # REQUIRE: root
-# KEYWORD: nojail
+# KEYWORD: nojail shutdown
 
 . /etc/rc.subr
 
 name="mountcritlocal"
 start_cmd="mountcritlocal_start"
-stop_cmd=":"
+stop_cmd=sync
 
 mountcritlocal_start()
 {


More information about the svn-src-all mailing list