diff options
author | Simon Rettberg | 2024-02-01 10:26:17 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-02-01 10:26:17 +0100 |
commit | 568eef2f8b9cd43f22cf4b111190e355cd7cb799 (patch) | |
tree | 4bd0075c3f5cd779f1a08857d24c595e8e23a5ea /modules.d/slx-network/module-setup.sh | |
parent | [slx-uuid] Move network stuff down to fallback path, more output (diff) | |
download | systemd-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-network/module-setup.sh')
-rwxr-xr-x | modules.d/slx-network/module-setup.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules.d/slx-network/module-setup.sh b/modules.d/slx-network/module-setup.sh index 6e28ba1f..498c7102 100755 --- a/modules.d/slx-network/module-setup.sh +++ b/modules.d/slx-network/module-setup.sh @@ -39,9 +39,9 @@ install() { inst_simple "${moddir}/services/${_name}.service" \ "${systemdsystemunitdir}/${_name}.service" mkdir --parents \ - "${initdir}/${systemdsystemunitdir}/dracut-cmdline.service.requires" + "${initdir}/${systemdsystemunitdir}/initrd.target.wants" ln_r "${systemdsystemunitdir}/${_name}.service" \ - "${systemdsystemunitdir}/dracut-cmdline.service.requires/${_name}.service" + "${systemdsystemunitdir}/initrd.target.wants/${_name}.service" # Setup bootif network: bridge, vlan, dhcp, ... _name="s3-setup-bootif-network" inst "$moddir/hooks/${_name}.sh" \ @@ -49,9 +49,9 @@ install() { inst_simple "${moddir}/services/${_name}.service" \ "${systemdsystemunitdir}/${_name}.service" mkdir --parents \ - "${initdir}/${systemdsystemunitdir}/dracut-initqueue.service.wants" + "${initdir}/${systemdsystemunitdir}/initrd.target.wants" ln_r "${systemdsystemunitdir}/${_name}.service" \ - "${systemdsystemunitdir}/dracut-initqueue.service.wants/${_name}.service" + "${systemdsystemunitdir}/initrd.target.wants/${_name}.service" # Copy files related to networking. Must be the very last thing before switchroot to # make sure nothing else tries to meddle with these after copying, e.g. slx-ssl. _name="s3-copy-network-files" @@ -60,9 +60,9 @@ 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" # hooks inst_hook pre-pivot 10 "${moddir}/hooks/configure-jumbo-frames.sh" |