diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-10-10 15:45:21 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2013-10-10 16:48:43 +0200 |
commit | 42aef9a586e178d75434a39a8d269dec1c75b968 (patch) | |
tree | e85ef311bbd226add7c90bed09d229c52b2dac39 /rc.d | |
parent | b541d3f3a9c2248c28413da14dfee4eae97fd86d (diff) | |
download | initscripts-42aef9a586e178d75434a39a8d269dec1c75b968.tar initscripts-42aef9a586e178d75434a39a8d269dec1c75b968.tar.gz initscripts-42aef9a586e178d75434a39a8d269dec1c75b968.tar.bz2 initscripts-42aef9a586e178d75434a39a8d269dec1c75b968.tar.xz initscripts-42aef9a586e178d75434a39a8d269dec1c75b968.zip |
sync disks before halt (#1006294)
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 3ddaa73d..71303e9f 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -180,6 +180,8 @@ done # If we left mdmon's running wait for the raidsets to become clean if [ -n "$OMITARGS" ]; then + sync + HALTARGS="$HALTARGS -n" mdadm --wait-clean --scan fi |