>>Comment By: Bernard Li (bernardli)
>Date: 2005-01-04 11:37
>
>Message:
>Logged In: YES
>user_id=879102
>
>/etc/ntp.conf is generated by the ntpconfig package scripts
>post_server_install and post_rpm_install and that is what I
>am trying to modify.  Unfortunately it does not keep a backup
>of the original conf file which came with the rpm...  perhaps
>this could be changed...

Let's discuss this here instead of SF.

OK, now that I've looked at post_server_install, a couple of comments

Why don't you pick up the existing file and modify that?  This will lead
to the following Good Things(TM):

a) If ntp is, in fact, running, you shouldn't be a-messin' with the
choice of the server.  Here and other places, the default gateway is
also the ntp server.

b) You won't need to "remember" the correct driftfile, it will already
be set.

c) You only need to change to lines that you actually need to.

Ditto for post_rpm_install, but commenting out all save the server line,
which you replace...

-- 
David N. Lombard
 
My comments represent my opinions, not those of Intel Corporation.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to