From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv2] inadyn: fix init script and default config file
Date: Sun, 18 Oct 2015 15:47:13 +0200 [thread overview]
Message-ID: <20151018154713.70960ed5@free-electrons.com> (raw)
In-Reply-To: <1445090722-4297-1-git-send-email-thomas.petazzoni@free-electrons.com>
Hello,
On Sat, 17 Oct 2015 16:05:22 +0200, Thomas Petazzoni wrote:
> This commit does a number of fixes to the inadyn package to make it
> work properly "out of the box":
>
> * inadyn is installed in /usr/sbin, not /usr/bin, so we fix the path
> in the init script
>
> * Use "printf" for the Starting and Stopping messages, so that the OK
> / FAIL stay on the same line.
>
> * Pass the -q option to the start sequence, since it's passed in the
> stop sequence.
>
> * Fix the configuration file to use an existing dyndns_system and
> avoid a failure at startup.
>
> * Use a variable called ENABLED in /etc/default/inadyn to decide
> whether to start the service or not. By default, it is not started,
> as suggested by Gustavo, and an explicit ENABLED="yes" is needed.
>
> * Store the PID file in /var/run/inadyn.pid, like we do for all other
> daemons.
>
> Cc: Alex Suykov <alex.suykov@gmail.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
Applied after dropping the silly comment in inadyn.conf, as suggested
by Yann.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-10-18 13:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 14:05 [Buildroot] [PATCHv2] inadyn: fix init script and default config file Thomas Petazzoni
2015-10-17 20:00 ` Yann E. MORIN
2015-10-18 13:46 ` Thomas Petazzoni
2015-10-18 13:47 ` Thomas Petazzoni [this message]
2015-10-19 7:56 ` Peter Korsgaard
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=20151018154713.70960ed5@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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