summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-network/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/slx-network/module-setup.sh')
-rwxr-xr-xmodules.d/slx-network/module-setup.sh12
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"