From cc05bb2fc537ca0667730d8435e537e0ff2048cc Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Fri, 17 Feb 2023 13:40:49 -0700 Subject: initial commit --- module-setup.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 module-setup.sh (limited to 'module-setup.sh') 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" +} -- cgit