mdadm/systemd/mdadm.shutdown

5 lines
160 B
Bash

#!/bin/sh
# We need to ensure all md arrays with external metadata
# (e.g. IMSM, DDF) are clean before completing the shutdown.
/sbin/mdadm --wait-clean --scan