[LEDE-DEV] [RFC 1/1] base-files/etc/rc.common: allow services to overwrite PROCD functions
Felix Fietkau
nbd at nbd.name
Mon Nov 20 04:27:24 PST 2017
On 2017-11-20 11:20, Zefir Kurtisi wrote:
> PROCD services can't overwrite those functions defined in the
> USE_PROCD body (like stop()), since the initfile is sourced
> before.
>
> This change moves the sourcing below and with that allows
> PROCD init scripts to overwrite them.
>
> Signed-off-by: Zefir Kurtisi <zefir.kurtisi at neratec.com>
This seems broken to me. USE_PROCD is defined by the init script, so you
can't test for it before the script has been sourced.
- Felix
More information about the Lede-dev
mailing list