[Buildroot] [PATCH 4/5] package/inadyn: refactor start script

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Dec 4 22:15:09 UTC 2021


Hello Joachim,

On Mon, 22 Nov 2021 03:08:03 +0100
Joachim Wiberg <troglobit at gmail.com> wrote:

> This patch is a complete rewrite of the start script, reducing code
> duplication by using a helper cmd() function and adding support for:
> 
>  - INADYN_ARGS that can be overridden from /etc/default/inadyn
>  - reload command that sends SIGHUP
> 
> Signed-off-by: Joachim Wiberg <troglobit at gmail.com>

Actually, for init script, we are now trying to use a common style and
construction for all, based on package/busybox/S01syslogd.

We don't want each init script of each package to be its own creative
work of art, but instead we prefer consistency.

It would actually be good to document this in the Buildroot manual.

Could you try to rework your init script according to
package/busybox/S01syslogd ?

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list