pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40707: ntpdate starts later then ntp

>Number:         40707
>Category:       pkg
>Synopsis:       ntpdate starts later then ntp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 21 11:45:00 +0000 2009
>Originator:     Ondrej Tuma
>Release:        current
Linux domU0 #1 SMP Sun Aug 24 14:00:52 CEST 2008 i686 prescott 
i386 GNU/Linux
I use both of ntp rc scripts in cooperate with rcorder. The idea is then 
ntpdate checks time and do big seting up, and ntpd keeps time right.

But ntpd starts before ntpdate.
rcorder $RCD_SCRIPTS_DIR/*
So here is the patch to ntpdate starts before ntpd :)

--- /usr/pkg/share/examples/rc.d/ntpdate        2009-02-16 12:48:58.000000000 
+++ ntpdate     2009-02-21 11:48:02.000000000 +0100
@@ -5,6 +5,7 @@
 # PROVIDE: ntpdate
+# BEFORE: ntpd
 . /etc/rc.subr

Home | Main Index | Thread Index | Old Index