summaryrefslogtreecommitdiff
path: root/module-setup.sh
blob: 2309caf1575fe07c8ed17172ef2d1c0de3b15934 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"
}