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.
This commit is contained in:
Tobias Waldekranz
2020-10-20 09:31:58 +02:00
parent 18ab7d3183
commit cc655609e2
+2 -4
View File
@@ -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