mirror of
https://github.com/troglobit/finit.git
synced 2026-10-24 11:54:36 +00:00
Merge branch 'finit-sm' of https://github.com/westermo/finit into westermo-finit-sm
Hand merged conflicts in the following files: Makefile finit.h service.c Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
commit
cc15d3f77b
9 files changed
+307
-152
No files matched your search
@@ -39,6 +39,7 @@
|
||||
#include "tty.h"
|
||||
#include "lite/lite.h"
|
||||
#include "inetd.h"
|
||||
#include "sm.h"
|
||||
|
||||
int debug = 0;
|
||||
int quiet = QUIET_MODE; /* Delayed disable of silent mode. */
|
||||
@@ -53,6 +54,7 @@ char *hostname = NULL;
|
||||
char *rcsd = FINIT_RCSD;
|
||||
char *runparts = NULL;
|
||||
char *console = NULL;
|
||||
sm_t sm;
|
||||
|
||||
uev_ctx_t *ctx = NULL; /* Main loop context */
|
||||
|
||||
@@ -176,9 +178,10 @@ int main(int argc, char* argv[])
|
||||
plugin_run_hooks(HOOK_BASEFS_UP);
|
||||
|
||||
/*
|
||||
* Start all bootstrap tasks, no network available!
|
||||
* Initalize finit state machine and start all bootstrap tasks, no network available!
|
||||
*/
|
||||
service_bootstrap();
|
||||
sm_init(&sm);
|
||||
sm_step(&sm);
|
||||
|
||||
/*
|
||||
* Network stuff
|
||||
|
||||
Reference in new issue
Block a user