diff --git a/src/plugin.c b/src/plugin.c index a4b3e2ab..84f43d5f 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -258,10 +258,12 @@ void plugin_run_hook(hook_point_t no, void *arg) } } - /* Conditions are stored in /run, so don't try to signal + /* + * Conditions are stored in /run, so don't try to signal * conditions for any hooks before filesystems have been - * mounted. */ - if (cond_is_available() && no >= HOOK_MOUNT_ERROR && no <= HOOK_SHUTDOWN) + * mounted. + */ + if (cond_is_available() && no >= HOOK_MOUNT_BASEFS_UP && no <= HOOK_SHUTDOWN) cond_set_oneshot(hook_cond[no]); service_step_all(SVC_TYPE_RUNTASK);