diff options
author | Simon Rettberg | 2023-01-24 15:33:38 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-24 15:33:38 +0100 |
commit | 6eaaa711ad729b3cc244f0c97e4f901172db84f0 (patch) | |
tree | 54ac3c1f959c87be3d04e1dfcbf446e6ab3468ca /modules.d/slx-clock/module-setup.sh | |
parent | Accidentally enabled NFS (diff) | |
download | systemd-init-6eaaa711ad729b3cc244f0c97e4f901172db84f0.tar.gz systemd-init-6eaaa711ad729b3cc244f0c97e4f901172db84f0.tar.xz systemd-init-6eaaa711ad729b3cc244f0c97e4f901172db84f0.zip |
[slx-clock] Use ntpd, as ntpdate uses ntpdig, which is written in python
We don't want python in our init, it's bloated enough already...
Diffstat (limited to 'modules.d/slx-clock/module-setup.sh')
-rwxr-xr-x | modules.d/slx-clock/module-setup.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules.d/slx-clock/module-setup.sh b/modules.d/slx-clock/module-setup.sh index 8dbce9f1..12533363 100755 --- a/modules.d/slx-clock/module-setup.sh +++ b/modules.d/slx-clock/module-setup.sh @@ -14,9 +14,7 @@ depends() { 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_multiple /etc/services /usr/share/zoneinfo/Europe/Berlin 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" |