The source project of this merge request has been removed.
install/lvm2: look for a add_systemd_unit "function" specifically
Replace command -v
with declare -F
to be consistent with the mdadm_udev
hook.
Redirect any potential stderr output to /dev/null too, since we only care about the return code.