[OpenWrt-Devel] [PATCH 2/2] procd: add notification if running in container

2019-05-22 Thread Paul Spooren
Signed-off-by: Paul Spooren --- state.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/state.c b/state.c index ff1734f..9f196ee 100644 --- a/state.c +++ b/state.c @@ -101,6 +101,9 @@ static void state_enter(void) switch (state) { case STATE_EARLY: LOG("- ea

[OpenWrt-Devel] [PATCH 1/2] procd: add docker support

2019-05-22 Thread Paul Spooren
detects if running in a docker container, which then requires special treatment of mounts. OpenWrt within Docker is useful for CI testing. The additional exit(0) treatment in state.c is based on @mikma code[0]. It should fix stopping problems of containers. [0]: https://github.com/mikma/lxd-open