On 07/06/13 09:21, Chris Stankevitz wrote:
> Hi,
> 
> What is the gentoo equivalent to this ubuntu command:
> 
>  apt-get install ntpdate && ntpdate pool.ntp.org
> 
> The first command installs ntpdate, a program that uses ntp to
> immediately set the clock, even if it is going to be a large
> adjustment.  The second comment tells ntpdate to sync the clock.
> 
> Thank you,
> 
> Chris
> 

emerge ntp && sntp -s <timeserver>

for continous syncing - check /etc/ntpd.conf

rc-update add ntpd

check syncing ntpq -p

BillK


Reply via email to