[Buildroot] [PATCH 1/2] dhcpcd: add SysV start-up script

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 2 22:23:45 UTC 2017


Hello,

On Thu, 2 Nov 2017 23:18:47 +0100, Yann E. MORIN wrote:

> >  - Same for the configuration file: I prefer a loud error than an init
> >    script that ignores the problem.  
> 
> Agreed, too.
> 
> However:
> 
>   - if the config file is mandatory, then this should be a failure.
> 
>   - if the config file is optional, then it missing should be silently
>     ignored and the service started nonetheless.

So you want explicitly handling for the "missing configuration file"
situation in the init script?

I wanted to avoid explicit handling, and just let the daemon whine (or
not) if its config file is missing.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list