diff --git a/src/finit.c b/src/finit.c index 77a8e48f..82e333f9 100644 --- a/src/finit.c +++ b/src/finit.c @@ -695,6 +695,10 @@ int main(int argc, char *argv[]) cond_set_oneshot(plugin_hook_str(HOOK_BANNER)); cond_set_oneshot(plugin_hook_str(HOOK_ROOTFS_UP)); + /* Some bootstrap tasks may need to know if we're in a container. */ + if (in_container()) + cond_set("int/container"); + /* * Initialize .conf system and load static /etc/finit.conf then * tell the world what we used.