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
This commit is contained in:
Doug Barton 2010-11-25 18:20:28 +00:00
parent 079d7e43ca
commit 5c0612b199

View file

@ -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()
{