From cc655609e2f2d92b4f271f5b37869e383560124b Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Tue, 13 Oct 2020 15:57:30 +0200 Subject: [PATCH] Do not exempt basefs up hook in rescue mode No other hook is treated in this fashion, so it seems silly to single out poor HOOK_BASEFS_UP. --- src/finit.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/finit.c b/src/finit.c index 7f281d46..cb6a460d 100644 --- a/src/finit.c +++ b/src/finit.c @@ -417,10 +417,8 @@ int main(int argc, char *argv[]) /* Base FS up, enable standard SysV init signals */ sig_setup(&loop); - if (!rescue) { - _d("Base FS up, calling hooks ..."); - plugin_run_hooks(HOOK_BASEFS_UP); - } + _d("Base FS up, calling hooks ..."); + plugin_run_hooks(HOOK_BASEFS_UP); /* * Set up inotify watcher for /etc/finit.d and read all .conf