From 5c0612b199d97b6bc402d6cb4b08c9e62f24bfdb Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Thu, 25 Nov 2010 18:20:28 +0000 Subject: [PATCH] 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 --- etc/rc.d/mountcritlocal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/mountcritlocal b/etc/rc.d/mountcritlocal index acd269e0ab3..06bf464f239 100755 --- a/etc/rc.d/mountcritlocal +++ b/etc/rc.d/mountcritlocal @@ -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() {