svn commit: r215824 - head/etc/rc.d
Doug Barton
dougb at FreeBSD.org
Thu Nov 25 18:20:28 UTC 2010
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()
{
More information about the svn-src-all
mailing list