diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-02-17 13:40:49 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-02-17 13:40:49 -0700 |
commit | cc05bb2fc537ca0667730d8435e537e0ff2048cc (patch) | |
tree | 11fa7891a063e2c1517708b3651e65bca5bfdb45 /module-setup.sh | |
download | ntp-module-main.tar.gz ntp-module-main.tar.bz2 ntp-module-main.zip |
Diffstat (limited to 'module-setup.sh')
-rwxr-xr-x | module-setup.sh | 17 |
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" +} |