9c06902921
This adds a new config file section "ntpdrift" to /etc/config/ntpclient to support setting an initial value "freq" for frequency offset. Changes /etc/hotplug.d/iface/20-ntpclient to call adjtimex and do an initial frequency offset before starting ntpclient. Signed-off-by: Steffen Hoffmann <hoff.st@shaas.net> git-svn-id: svn://svn.openwrt.org/openwrt/packages@10355 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
453 B
Plaintext
23 lines
453 B
Plaintext
config ntpclient
|
|
option hostname '0.openwrt.pool.ntp.org'
|
|
option port '123'
|
|
option count '1'
|
|
|
|
config ntpclient
|
|
option hostname '1.openwrt.pool.ntp.org'
|
|
option port '123'
|
|
option count '1'
|
|
|
|
config ntpclient
|
|
option hostname '2.openwrt.pool.ntp.org'
|
|
option port '123'
|
|
option count '1'
|
|
|
|
config ntpclient
|
|
option hostname '3.openwrt.pool.ntp.org'
|
|
option port '123'
|
|
option count '1'
|
|
|
|
config ntpdrift
|
|
option freq '0'
|