From 6be850d04b174ca7a185306146d223f57e553f1e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 1 Feb 2024 09:02:21 +0100 Subject: [slx-uuid] Change .wants hook --- modules.d/slx-uuid/module-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/slx-uuid/module-setup.sh b/modules.d/slx-uuid/module-setup.sh index 1cac712d..9208c307 100755 --- a/modules.d/slx-uuid/module-setup.sh +++ b/modules.d/slx-uuid/module-setup.sh @@ -30,7 +30,7 @@ install() { inst_simple "${moddir}/services/${_name}.service" \ "${systemdsystemunitdir}/${_name}.service" mkdir --parents \ - "${initdir}/${systemdsystemunitdir}/dracut-pre-udev.service.requires" + "${initdir}/${systemdsystemunitdir}/initrd.target.wants" ln_r "${systemdsystemunitdir}/${_name}.service" \ - "${systemdsystemunitdir}/dracut-pre-udev.service.requires/${_name}.service" + "${systemdsystemunitdir}/initrd.target.wants/${_name}.service" } -- cgit v1.2.3-55-g7522