mirror of
https://github.com/troglobit/finit.git
synced 2026-11-25 20:28:23 +00:00
Fix #385: internal conditions are type oneshot, always active
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
180faf8a40
commit
6443995fc9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user