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