diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-09-14 05:03:59 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-09-14 05:03:59 +0000 |
commit | a059a58ccc1f65b1386ff05854efe3efaa846727 (patch) | |
tree | c1776a000fe95c5900fbef766b584528d81a7104 /net-misc/adjtimex/files | |
parent | whitespace (diff) | |
download | gentoo-2-a059a58ccc1f65b1386ff05854efe3efaa846727.tar.gz gentoo-2-a059a58ccc1f65b1386ff05854efe3efaa846727.tar.bz2 gentoo-2-a059a58ccc1f65b1386ff05854efe3efaa846727.zip |
adjtimex init should run before ntp starts up, so that the tick/freq is set.
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
Diffstat (limited to 'net-misc/adjtimex/files')
-rw-r--r-- | net-misc/adjtimex/files/adjtimex.init | 8 |
1 files changed, 6 insertions, 2 deletions
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: |