From f69bb0f423ebea4b707df874eb0a695c75ea4477 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 19 Jan 2023 12:31:37 +0100 Subject: [slx-clock] Add ntpdig --- modules.d/slx-clock/module-setup.sh | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3-55-g7522