summaryrefslogtreecommitdiff
path: root/module-setup.sh
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-02-17 13:40:49 -0700
committerJosh Rahm <joshuarahm@gmail.com>2023-02-17 13:40:49 -0700
commitcc05bb2fc537ca0667730d8435e537e0ff2048cc (patch)
tree11fa7891a063e2c1517708b3651e65bca5bfdb45 /module-setup.sh
downloadntp-module-main.tar.gz
ntp-module-main.tar.bz2
ntp-module-main.zip
initial commitHEADmain
Diffstat (limited to 'module-setup.sh')
-rwxr-xr-xmodule-setup.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/module-setup.sh b/module-setup.sh
new file mode 100755
index 0000000..2309caf
--- /dev/null
+++ b/module-setup.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+# ex: ts=8 sw=4 sts=4 et filetype=sh
+
+check() {
+ return 255
+}
+
+depends() {
+ echo 'network busybox bash'
+}
+
+install() {
+ inst_hook pre-udev 99 "$moddir/start-ntpd.sh"
+ inst_script "$moddir/poll-ntpd.sh" "/bin/poll-ntpd.sh"
+ inst_simple "/etc/ntp.conf"
+}