On 2007-06-22, Maarten Wiltink <[EMAIL PROTECTED]> wrote:
> "Richard B. Gilbert" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> [...]
>> Try starting ntpd AFTER the network is available!
>
> ... if Ubuntu has the System V-style init scripts, this is done
> relatively easily by giving its startup symlink a higher number
> than the one that start the network.

Which can easily be done without any special tools merely by renaming
those sym-links.

> I find chkconfig a reasonably convenient way to manipulate those
> symlinks.

Since Ubuntu is based on Debian, it is likely that /usr/sbin/update-rc.d
will be available.

Take a look in your default run level directory (likely /etc/rc2.d/) and
see what the starting number (S...) is for your network script.

Then (assuming your ntp init script is named 'ntp'):

update-rc.d -f ntp remove
update-rc.d ntp defaults NN

(where NN is the new starting number higher than that used for the
network startup)

-- 
Steve Kostecke <[EMAIL PROTECTED]>
NTP Public Services Project - http://support.ntp.org/

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions

Reply via email to