diff --git a/src/finit.c b/src/finit.c index 0c62729f..a4d0ac7e 100644 --- a/src/finit.c +++ b/src/finit.c @@ -474,6 +474,9 @@ int main(int argc, char* argv[]) if (fexist("/lib/udev/udev-finish")) run_interactive("/lib/udev/udev-finish", "Finalizing udev"); + /* Bootstrap conditions, needed for hooks */ + cond_init(); + _d("Root FS up, calling hooks ..."); plugin_run_hooks(HOOK_ROOTFS_UP); @@ -487,9 +490,6 @@ int main(int argc, char* argv[]) /* Base FS up, enable standard SysV init signals */ sig_setup(&loop); - /* Bootstrap conditions */ - cond_init(); - /* * Set up inotify watcher for /etc/finit.d and read all .conf * files to figure out how to bootstrap the system.