Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21017 - ntp ebuild should contain an init script for the client
Summary: ntp ebuild should contain an init script for the client
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-14 12:44 UTC by Luke-Jr
Modified: 2003-08-06 00:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ntp init script (ntp,539 bytes, text/plain)
2003-05-21 14:25 UTC, Luke-Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2003-05-14 12:44:13 UTC
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 SpanKY gentoo-dev 2003-05-20 05:16:51 UTC
the init script that already exists has the option to run ntpdate at boot and thus set the clock once ...
Comment 2 Luke-Jr 2003-05-20 13:59:12 UTC
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 Luke-Jr 2003-05-21 14:25:36 UTC
Created attachment 12262 [details]
ntp init script

You want to put the script (attached) in ebuild?
Comment 4 SpanKY gentoo-dev 2003-08-06 00:48:09 UTC
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 SpanKY gentoo-dev 2003-08-06 00:48:39 UTC
oh, and this is in ntp-4.1.2, not 4.1.1