Signed-off-by: Paul Spooren <[email protected]>
---
 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("- early -\n");
+               if (is_container())
+                       LOG("This isn't real life. I'm running in a 
container.\n");
+
                watchdog_init(0);
                hotplug("/etc/hotplug.json");
                procd_coldplug();
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to