mirror of
https://github.com/troglobit/finit.git
synced 2026-11-07 16:01:08 +00:00
Try removing delayed start of TTYs, should not be needed anymore.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
e0529a5597
commit
9f5172b0d1
1 file changed
+2
-11
@@ -131,14 +131,6 @@ static int client(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Delayed start of TTYs to let the system stabilize at boot
|
|
||||||
*/
|
|
||||||
static void delayed_tty_start(uev_ctx_t *UNUSED(ctx), uev_t *UNUSED(w), void *UNUSED(arg), int UNUSED(events))
|
|
||||||
{
|
|
||||||
tty_runlevel(runlevel);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void banner(void)
|
static void banner(void)
|
||||||
{
|
{
|
||||||
delline();
|
delline();
|
||||||
@@ -147,7 +139,6 @@ static void banner(void)
|
|||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
uev_t w;
|
|
||||||
uev_ctx_t ctx;
|
uev_ctx_t ctx;
|
||||||
|
|
||||||
if (getpid() != 1)
|
if (getpid() != 1)
|
||||||
@@ -274,8 +265,8 @@ int main(int argc, char* argv[])
|
|||||||
/* Hooks that should run at the very end */
|
/* Hooks that should run at the very end */
|
||||||
plugin_run_hooks(HOOK_SYSTEM_UP);
|
plugin_run_hooks(HOOK_SYSTEM_UP);
|
||||||
|
|
||||||
/* Delayed start of TTY's at boot (one-shot timer) */
|
/* Start TTYs */
|
||||||
uev_timer_init(&ctx, &w, delayed_tty_start, NULL, 2000, 0);
|
tty_runlevel(runlevel);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enter main loop to monior /dev/initctl and services
|
* Enter main loop to monior /dev/initctl and services
|
||||||
|
|||||||
Reference in new issue
Block a user