1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215824

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