summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-drm/module-setup.sh
diff options
context:
space:
mode:
authorSimon Rettberg2024-02-01 10:26:17 +0100
committerSimon Rettberg2024-02-01 10:26:17 +0100
commit568eef2f8b9cd43f22cf4b111190e355cd7cb799 (patch)
tree4bd0075c3f5cd779f1a08857d24c595e8e23a5ea /modules.d/slx-drm/module-setup.sh
parent[slx-uuid] Move network stuff down to fallback path, more output (diff)
downloadsystemd-init-568eef2f8b9cd43f22cf4b111190e355cd7cb799.tar.gz
systemd-init-568eef2f8b9cd43f22cf4b111190e355cd7cb799.tar.xz
systemd-init-568eef2f8b9cd43f22cf4b111190e355cd7cb799.zip
Link all services in initrd.target.wants
Diffstat (limited to 'modules.d/slx-drm/module-setup.sh')
-rwxr-xr-xmodules.d/slx-drm/module-setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/slx-drm/module-setup.sh b/modules.d/slx-drm/module-setup.sh
index 00ff80a7..13c15b9e 100755
--- a/modules.d/slx-drm/module-setup.sh
+++ b/modules.d/slx-drm/module-setup.sh
@@ -23,8 +23,8 @@ install() {
inst_simple "${moddir}/services/${_name}.service" \
"${systemdsystemunitdir}/${_name}.service"
mkdir --parents \
- "${initdir}/${systemdsystemunitdir}/dracut-pre-pivot.service.requires"
+ "${initdir}/${systemdsystemunitdir}/initrd.target.wants"
ln_r "${systemdsystemunitdir}/${_name}.service" \
- "${systemdsystemunitdir}/dracut-pre-pivot.service.requires/${_name}.service"
+ "${systemdsystemunitdir}/initrd.target.wants/${_name}.service"
done
}