Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] ntp init script and config file issue
Date: Fri, 27 Sep 2013 09:48:34 +0200	[thread overview]
Message-ID: <52453852.20904@gmail.com> (raw)

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

                 reply	other threads:[~2013-09-27  7:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52453852.20904@gmail.com \
    --to=mr.zoltan.gyarmati@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox