Fix #385: internal conditions are type oneshot, always active

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-11-12 09:04:35 +01:00
1 parent 180faf8a40
commit 6443995fc9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -697,7 +697,7 @@ int main(int argc, char *argv[])
/* Some bootstrap tasks may need to know if we're in a container. */ /* Some bootstrap tasks may need to know if we're in a container. */
if (in_container()) if (in_container())
cond_set("int/container"); cond_set_oneshot("int/container");
/* /*
* Initialize .conf system and load static /etc/finit.conf then * Initialize .conf system and load static /etc/finit.conf then
+1 -1
View File
@@ -216,7 +216,7 @@ restart:
service_step_all(SVC_TYPE_ANY); service_step_all(SVC_TYPE_ANY);
/* Allow runparts to start */ /* Allow runparts to start */
cond_set("int/bootstrap"); cond_set_oneshot("int/bootstrap");
if (sm->newlevel == -1) if (sm->newlevel == -1)
break; break;