diff options
author | Simon Rettberg | 2023-01-19 12:31:37 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-19 12:31:37 +0100 |
commit | f69bb0f423ebea4b707df874eb0a695c75ea4477 (patch) | |
tree | eff890b0b9658f3b511cf632ddc5da302a9214f0 | |
parent | [slx-clock] ntpdate: -p is no longer supported (diff) | |
download | systemd-init-f69bb0f423ebea4b707df874eb0a695c75ea4477.tar.gz systemd-init-f69bb0f423ebea4b707df874eb0a695c75ea4477.tar.xz systemd-init-f69bb0f423ebea4b707df874eb0a695c75ea4477.zip |
[slx-clock] Add ntpdig
-rwxr-xr-x | modules.d/slx-clock/module-setup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules.d/slx-clock/module-setup.sh b/modules.d/slx-clock/module-setup.sh index 8fdbbef6..8dbce9f1 100755 --- a/modules.d/slx-clock/module-setup.sh +++ b/modules.d/slx-clock/module-setup.sh @@ -15,6 +15,8 @@ install() { # wait til we have the openslx config for ntp servers # which happens in pre-mount/10 inst_multiple ntpdate /etc/services /usr/share/zoneinfo/Europe/Berlin + # Needed on newer systems, where ntpdate is just a wrapper around it + inst_multiple -o ntpdig inst /usr/share/zoneinfo/Europe/Berlin /etc/localtime inst_hook pre-mount 15 "$moddir/scripts/ntp-sync.sh" inst_hook pre-pivot 15 "$moddir/scripts/configure-timesyncd.sh" |