diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-11-25 18:20:28 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-11-25 18:20:28 +0000 |
commit | 5c0612b199d97b6bc402d6cb4b08c9e62f24bfdb (patch) | |
tree | 5a83eba00eb9339cf931386bbcd53fa9f3752c52 /etc | |
parent | 079d7e43caaef61f2394ad46e2abe63ea1d3845c (diff) | |
download | src-5c0612b199d97b6bc402d6cb4b08c9e62f24bfdb.tar.gz src-5c0612b199d97b6bc402d6cb4b08c9e62f24bfdb.zip |
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
Notes
Notes:
svn path=/head/; revision=215824
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/mountcritlocal | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/mountcritlocal b/etc/rc.d/mountcritlocal index acd269e0ab3c..06bf464f239f 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() { |