Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] ntp init script and config file issue
@ 2013-09-27  7:48 Zoltan Gyarmati
  0 siblings, 0 replies; only message in thread
From: Zoltan Gyarmati @ 2013-09-27  7:48 UTC (permalink / raw)
  To: buildroot

Hi,

i was just wondering: the ntp init script shipped in
packages/ntp/S49ntpd sources the /etc/default/ntpd file, but it does not
use all of the settings from there, only the NTPDATE_OPTS and the
NTPSERVERS variables. It's seems to be faulty for me, but maybe i miss
something obvious, please correct me if so. For my application i
modified the init script to:

* also sources the /etc/ntpd file if exist, which overrides the settings
coming from /etc/default/ntpd

* starts the daemon only if NTPD=yes

* also calls the ntpdate only when NTPDATE=yes

Is the community interested in such a fix? If so, please let me know and
I'll send in a patch.
Thanks,

-- 
br, 
Zoltan Gyarmati
mail: mr.zoltan.gyarmati at gmail.com
freenode nick: zgyarmati

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-27  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-27  7:48 [Buildroot] ntp init script and config file issue Zoltan Gyarmati

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox