mirror of
https://github.com/troglobit/finit.git
synced 2026-10-04 23:04:12 +07:00
plugins: sys.so and usr.so must run after bootmisc
The bootmisc plugin sets up the base path for finit and figures out if the system has /run or /var/run -- needed by the other plugins. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -179,6 +179,7 @@ static void sys_init(void *arg)
|
||||
static plugin_t plugin = {
|
||||
.name = __FILE__,
|
||||
.hook[HOOK_BASEFS_UP] = { .cb = sys_init },
|
||||
.depends = { "bootmisc", },
|
||||
};
|
||||
|
||||
PLUGIN_INIT(plugin_init)
|
||||
|
||||
@@ -105,6 +105,7 @@ static void usr_init(void *arg)
|
||||
static plugin_t plugin = {
|
||||
.name = __FILE__,
|
||||
.hook[HOOK_BASEFS_UP] = { .cb = usr_init },
|
||||
.depends = { "bootmisc", },
|
||||
};
|
||||
|
||||
PLUGIN_INIT(plugin_init)
|
||||
|
||||
Reference in New Issue
Block a user