scripts/GRMLBASE/52-mdadm: unconditionally clear 64-md-raid-assembly.rules
authorMichael Prokop <mika@grml.org>
Fri, 10 Jul 2020 09:14:57 +0000 (11:14 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 10 Jul 2020 09:16:28 +0000 (11:16 +0200)
commitb090c76f24602f88fc251b287732142710496ca5
tree2f1cfdf7211fde47e20df056027d80da9f55c554
parentfd0d2c0a253b7ca405c6884b13523083cfcb5f48
scripts/GRMLBASE/52-mdadm: unconditionally clear 64-md-raid-assembly.rules

Similar to what we did in commit 31cd53a8b for LVM,
if /lib/udev/rules.d/64-md-raid-assembly.rules was removed by a
prior run of the unpatched script,
the patched script will fail to create the placeholder file.

This work was funded by Grml-Forensic.
etc/grml/fai/config/scripts/GRMLBASE/52-mdadm