diff options
author | Simon Rettberg | 2024-02-01 09:46:14 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-02-01 09:46:14 +0100 |
commit | a7954a7d0300c57755c377bc95ae4c799e8b8c82 (patch) | |
tree | 893a27517f5d369544979d752fae91e326fac02c /modules.d/slx-clock/module-setup.sh | |
parent | [slx-uuid] Change .wants hook (diff) | |
download | systemd-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-x | modules.d/slx-clock/module-setup.sh | 4 |
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 } |