[Buildroot] [PATCH v2 1/8] package/dhcp: fix SysV init scripts option passing

Maxime Hadjinlian maxime.hadjinlian at gmail.com
Wed Oct 14 07:21:41 UTC 2015


Hi Benoit,

On Tue, Oct 13, 2015 at 11:35 AM, Benoît Thébaudeau <benoit at wsystem.com>
wrote:

> The SysV init scripts have configuration variables like INTERFACES whose
> contents have to be passed to the daemon. These variables are
> initialized as empty strings, but some of them are not allowed to be
> empty and there was no means of filling them apart from creating a root
> FS overlay to overwrite these scripts.
>
> This commit adds support for files under /etc/default/ to set these
> configuration variables. Such light files can now be added to the root
> FS skeleton or overlays without having to duplicate most of the SysV
> init scripts.
>
> Signed-off-by: Benoît Thébaudeau <benoit at wsystem.com>
>
>
Thanks a lot for your work, I am afraid I am going to add to your work and
maybe be a bit of a kill joy:

What about systemd ?

There's already a service file in the dhcp package, so any changes made to
the init scripts should also be made to the .service to keep the whole
package coherent.

If you need any help/tips, do ask.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151014/d405aafd/attachment-0002.html>


More information about the buildroot mailing list