mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +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:
parent
079d7e43ca
commit
5c0612b199
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215824
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user