summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-clock/module-setup.sh
diff options
context:
space:
mode:
authorSimon Rettberg2024-02-01 09:46:14 +0100
committerSimon Rettberg2024-02-01 09:46:14 +0100
commita7954a7d0300c57755c377bc95ae4c799e8b8c82 (patch)
tree893a27517f5d369544979d752fae91e326fac02c /modules.d/slx-clock/module-setup.sh
parent[slx-uuid] Change .wants hook (diff)
downloadsystemd-init-a7954a7d0300c57755c377bc95ae4c799e8b8c82.tar.gz
systemd-init-a7954a7d0300c57755c377bc95ae4c799e8b8c82.tar.xz
systemd-init-a7954a7d0300c57755c377bc95ae4c799e8b8c82.zip
[slx-clock] Order ntp sync after fetch config
Diffstat (limited to 'modules.d/slx-clock/module-setup.sh')
-rwxr-xr-xmodules.d/slx-clock/module-setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/slx-clock/module-setup.sh b/modules.d/slx-clock/module-setup.sh
index b99f7640..0977522e 100755
--- a/modules.d/slx-clock/module-setup.sh
+++ b/modules.d/slx-clock/module-setup.sh
@@ -16,8 +16,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
}