diff options
author | Jonathan Bauer | 2019-07-23 17:53:20 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-07-23 17:53:20 +0200 |
commit | 9921eabcc08ed121d7d47ef971d524a3cfe87e87 (patch) | |
tree | ed3b89529566249aea6e1f83b681b9c8608732a5 | |
parent | [busybox] introduce busybox module (diff) | |
download | systemd-init-9921eabcc08ed121d7d47ef971d524a3cfe87e87.tar.gz systemd-init-9921eabcc08ed121d7d47ef971d524a3cfe87e87.tar.xz systemd-init-9921eabcc08ed121d7d47ef971d524a3cfe87e87.zip |
[slx-clock] ntpdate > timesyncd
-rwxr-xr-x | builder/modules.d/slx-clock/module-setup.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/builder/modules.d/slx-clock/module-setup.sh b/builder/modules.d/slx-clock/module-setup.sh index 50c36fe6..1a9956e3 100755 --- a/builder/modules.d/slx-clock/module-setup.sh +++ b/builder/modules.d/slx-clock/module-setup.sh @@ -5,9 +5,12 @@ check() { return 255 } depends() { - echo dnbd3-rootfs + echo dnbd3-rootfs busybox } install() { - # unpacking config.tgz should be pre-pivot 10, let's do this afterwards - inst_hook pre-pivot 50 "$moddir/scripts/configure-timesyncd.sh" + # 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 + inst /usr/share/zoneinfo/Europe/Berlin /etc/localtime + inst_hook pre-mount 15 "$moddir/scripts/ntp-sync.sh" } |