/usr/lib/dracut/modules.d/71prefixdevname
Edit: /usr/lib/dracut/modules.d/71prefixdevname/module-setup.sh (245B)
#!/bin/bash
# Make sure we always include generated link files in initrd
check() {
return 0
}
install() {
if dracut_module_included "systemd"; then
inst_multiple -H -o /etc/systemd/network/71-net-ifnames-prefix-*.link
fi
}