Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev <gentoo-dev@g.o>
From: Andy Arbon <gentoo@...>
Subject: Re: ntpd and ntpdate
Date: Tue, 18 Mar 2003 13:14:49 +0000
Paul de Vrieze wrote:
>>Is there a neat way to just run ntpdate at system initialisation? I

> This is allready included in the ntp scripts. Just edit the configuration 
> file. Btw. ntpd is not a necesarilly server. It takes care that the time 
> stays correct. Check the ntpd.conf file for restricting the server 
> capabilities.
Thanks for the advice. This still isn't really what I was after. I want 
a really lightweight way of making sure that my machines are in 
reasonable sync, but I'm not really worried about it enough to want to 
have another daemon process hanging around looking after the time.

What I've done is write a 2 line bash script for /etc/init.d/ which just 
runs ntpdate once using the ntpdate configurations in /etc/conf.d/ntpd, 
which should be sufficient (Copied below for the terminally lazy ;) )

As an aside: Does anyone know what will happen the next time the package 
containing /etc/init.d/* is updated? Will it remove my script or is that 



# A script to one off launch ntpdate

if [ $1 == 'start' ]; then
     source /etc/conf.d/ntpd;

gentoo-dev@g.o mailing list

Re: ntpd and ntpdate
-- Markus Krainer
Re: ntpd and ntpdate
-- Dylan Carlson
ntpd and ntpdate
-- Andy Arbon
Re: ntpd and ntpdate
-- Paul de Vrieze
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: ntpd and ntpdate
Next by thread:
Re: ntpd and ntpdate
Previous by date:
Re: ntpd and ntpdate
Next by date:
Re: ntpd and ntpdate

Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.