]> git.ipfire.org Git - thirdparty/mdadm.git/blob - systemd/mdadm.shutdown
sysfs: Use the presence of /sys/block/<dev>/md as indicator of valid device
[thirdparty/mdadm.git] / systemd / mdadm.shutdown
1 #!/bin/sh
2 # We need to ensure all md arrays with external metadata
3 # (e.g. IMSM, DDF) are clean before completing the shutdown.
4 BINDIR/mdadm --wait-clean --scan