mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue