From 835f186e056004cd67b3e5a1ee17f3ae1202646c Mon Sep 17 00:00:00 2001 From: dougb Date: Thu, 25 Nov 2010 18:20:28 +0000 Subject: 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(-) (limited to 'etc/rc.d') diff --git a/etc/rc.d/mountcritlocal b/etc/rc.d/mountcritlocal index acd269e..06bf464 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() { -- cgit v1.1