Author: dougb
Date: Thu Nov 25 18:20:28 2010
New Revision: 215824
URL: http://svn.freebsd.org/changeset/base/215824

Log:
  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

Modified:
  head/etc/rc.d/mountcritlocal

Modified: head/etc/rc.d/mountcritlocal
==============================================================================
--- head/etc/rc.d/mountcritlocal        Thu Nov 25 18:14:18 2010        
(r215823)
+++ head/etc/rc.d/mountcritlocal        Thu Nov 25 18:20:28 2010        
(r215824)
@@ -5,13 +5,13 @@
 
 # PROVIDE: mountcritlocal
 # REQUIRE: root hostid_save mdconfig
-# KEYWORD: nojail
+# KEYWORD: nojail shutdown
 
 . /etc/rc.subr
 
 name="mountcritlocal"
 start_cmd="mountcritlocal_start"
-stop_cmd=":"
+stop_cmd=sync
 
 mountcritlocal_start()
 {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to