Bug 21017 - ntp ebuild should contain an init script for the client
Bug#: 21017 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: vapier@gentoo.org Reported By: luke-jr+gentoobugs@utopios.org
Component: Ebuilds
URL: 
Summary: ntp ebuild should contain an init script for the client
Keywords:  
Status Whiteboard: 
Opened: 2003-05-14 12:44 0000
Description:   Opened: 2003-05-14 12:44 0000
An init script for the ntp client would be a good idea, as it makes sense to
sync the 
local clock when the system is booting. 

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From SpanKY 2003-05-20 05:16:51 0000 -------
the init script that already exists has the option to run ntpdate at boot and
thus set the clock once ...

------- Comment #2 From Luke-Jr 2003-05-20 13:59:12 0000 -------
Yes, but it still starts ntpd and requires existance of /etc/ntp.conf 
I just want the system to sync the clock at boot and not have a ntpd running. 

------- Comment #3 From Luke-Jr 2003-05-21 14:25:36 0000 -------
Created an attachment (id=12262) [details]
ntp init script

You want to put the script (attached) in ebuild?

------- Comment #4 From SpanKY 2003-08-06 00:48:09 0000 -------
rather than using the given script i split the old ntpd.rc file into ntpd.rc
and ntp-client.rc ...

basically same functionality but a lot less headache :)

`rc-update del ntpd`
`/etc/init.d/ntpd stop`
`rc-update add ntp-client default`

and call it a day :)

------- Comment #5 From SpanKY 2003-08-06 00:48:39 0000 -------
oh, and this is in ntp-4.1.2, not 4.1.1