summaryrefslogtreecommitdiff
path: root/sys-apps/busybox/files/ntpd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/busybox/files/ntpd.initd')
-rw-r--r--sys-apps/busybox/files/ntpd.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/busybox/files/ntpd.initd b/sys-apps/busybox/files/ntpd.initd
new file mode 100644
index 000000000000..dffea3bcde39
--- /dev/null
+++ b/sys-apps/busybox/files/ntpd.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/bin/busybox ntpd"
+command_args="${NTPD_OPTS}"
+pidfile="/run/ntpd.pid"
+
+depend() {
+ use net dns logger
+ after ntp-client
+}