diff options
author | dougb <dougb@FreeBSD.org> | 2010-11-25 18:20:28 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2010-11-25 18:20:28 +0000 |
commit | 835f186e056004cd67b3e5a1ee17f3ae1202646c (patch) | |
tree | 5a83eba00eb9339cf931386bbcd53fa9f3752c52 /etc | |
parent | 293f476720a15dfcd8a860e0c997ffd887987a35 (diff) | |
download | FreeBSD-src-835f186e056004cd67b3e5a1ee17f3ae1202646c.zip FreeBSD-src-835f186e056004cd67b3e5a1ee17f3ae1202646c.tar.gz |
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
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 acd269e..06bf464 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() { |