aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/ntpd.initd
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-03-17 12:39:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-19 10:33:16 +0000
commit90c1b657c62cf993b8db1f683e15a0748e0daebf (patch)
treeb7f3091480ab3c6013ea201e5e98a56b6e20b2df /main/busybox-initscripts/ntpd.initd
parent6ead26b427cf548445dade9ea27e9a03c7a54f14 (diff)
downloadaports-90c1b657c62cf993b8db1f683e15a0748e0daebf.tar.bz2
aports-90c1b657c62cf993b8db1f683e15a0748e0daebf.tar.xz
main/busybox-initscripts: ntpd init and conf
Replaces openntpd init script and conf with the same name.
Diffstat (limited to 'main/busybox-initscripts/ntpd.initd')
-rwxr-xr-xmain/busybox-initscripts/ntpd.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/busybox-initscripts/ntpd.initd b/main/busybox-initscripts/ntpd.initd
new file mode 100755
index 0000000000..49138f7816
--- /dev/null
+++ b/main/busybox-initscripts/ntpd.initd
@@ -0,0 +1,13 @@
+#!/sbin/runscript
+
+name="busybox $SVCNAME"
+command="/usr/sbin/$SVCNAME"
+command_args="${NTPD_OPTS:--N -p pool.ntp.org}"
+pidfile="/var/run/$SVCNAME.pid"
+
+depend() {
+ need net
+ provide ntp-client
+ use dns
+}
+