summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/slx-clock/module-setup.sh
diff options
context:
space:
mode:
authorJonathan Bauer2020-05-13 11:04:02 +0200
committerJonathan Bauer2020-05-13 11:04:02 +0200
commit1130873aa55c9b0a7e5af48edc44bd6c6fd1f888 (patch)
tree0fcfa186cd631d8d36611b3d4bc509fd38841d51 /builder/modules.d/slx-clock/module-setup.sh
parentMerge branch 'centos8' into downloader (diff)
downloadsystemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.tar.gz
systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.tar.xz
systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.zip
restructure repo
* remove packager * move everything from builder/* back to root
Diffstat (limited to 'builder/modules.d/slx-clock/module-setup.sh')
-rwxr-xr-xbuilder/modules.d/slx-clock/module-setup.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/builder/modules.d/slx-clock/module-setup.sh b/builder/modules.d/slx-clock/module-setup.sh
deleted file mode 100755
index 0c21b032..00000000
--- a/builder/modules.d/slx-clock/module-setup.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env bash
-check() {
- if ! hash ntpdate; then
- derror "Missing 'ntpdate'. Please install it."
- return 1
- fi
- # Tell dracut that this module should only be included if it is required
- # explicitly.
- return 255
-}
-depends() {
- echo dnbd3-rootfs busybox
-}
-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
- inst /usr/share/zoneinfo/Europe/Berlin /etc/localtime
- inst_hook pre-mount 15 "$moddir/scripts/ntp-sync.sh"
-}