[PATCH 1/2] dracut-module-install: Move systemd conf install code to a function