summaryrefslogtreecommitdiff
path: root/systemd/mdadm.shutdown
diff options
context:
space:
mode:
authorYann Soubeyrand <yann-externe.soubeyrand@edf.fr>2015-11-10 10:18:39 +0000
committerYann Soubeyrand <yann-externe.soubeyrand@edf.fr>2015-11-10 10:18:39 +0000
commit910e28f2b4651d0e8533c577d3bc65338cea69f8 (patch)
treefdca1d7c60e15fb527a171285d8917f68699f64a /systemd/mdadm.shutdown
mdadm (3.3.4-1.1) unstable; urgency=medium
* Non-maintainer upload. * disable-incremental-assembly.patch: incremental assembly prevents booting in degraded mode (Closes: #784070) # imported from the archive
Diffstat (limited to 'systemd/mdadm.shutdown')
-rw-r--r--systemd/mdadm.shutdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/systemd/mdadm.shutdown b/systemd/mdadm.shutdown
new file mode 100644
index 00000000..33f27783
--- /dev/null
+++ b/systemd/mdadm.shutdown
@@ -0,0 +1,4 @@
+#!/bin/sh
+# We need to ensure all md arrays with external metadata
+# (e.g. IMSM, DDF) are clean before completing the shutdown.
+BINDIR/mdadm --wait-clean --scan