diff options
Diffstat (limited to 'builder')
| -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" } |
