summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/adjtimex')
-rw-r--r--net-misc/adjtimex/ChangeLog8
-rw-r--r--net-misc/adjtimex/files/adjtimex.init8
2 files changed, 12 insertions, 4 deletions
diff --git a/net-misc/adjtimex/ChangeLog b/net-misc/adjtimex/ChangeLog
index b466056b9abb..2cf821199c50 100644
--- a/net-misc/adjtimex/ChangeLog
+++ b/net-misc/adjtimex/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/adjtimex
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/ChangeLog,v 1.20 2007/04/28 16:48:58 swegener Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/ChangeLog,v 1.21 2008/09/14 05:03:58 robbat2 Exp $
+
+ 14 Sep 2008; Robin H. Johnson <robbat2@gentoo.org> files/adjtimex.init:
+ adjtimex init should run before ntp starts up, so that the tick/freq is
+ set.
28 Apr 2007; Sven Wegener <swegener@gentoo.org> adjtimex-1.16.ebuild,
adjtimex-1.16-r1.ebuild, adjtimex-1.20.ebuild, adjtimex-1.20-r1.ebuild,
diff --git a/net-misc/adjtimex/files/adjtimex.init b/net-misc/adjtimex/files/adjtimex.init
index 7b6b0a86d017..50c90a53eda3 100644
--- a/net-misc/adjtimex/files/adjtimex.init
+++ b/net-misc/adjtimex/files/adjtimex.init
@@ -1,12 +1,16 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/files/adjtimex.init,v 1.3 2006/03/26 00:50:17 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/files/adjtimex.init,v 1.4 2008/09/14 05:03:59 robbat2 Exp $
DAEMON=adjtimex
OPTS="--tick ${TICK} --frequency ${FREQ}"
CONFD="/etc/conf.d/${DAEMON}"
+depend() {
+ before ntp-client ntpd
+}
+
checkconfig() {
if [ ! -f "${CONFD}" ]; then
eerror "Configuration file not found!"
@@ -27,4 +31,4 @@ stop() {
:
}
-# vim: ts=4 sw=4 ft=sh:
+# vim: ts=4 sw=4 ft=gentoo-init-d: