X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=state.c;h=3b56bd0b75f81851b12b2fb5cb32d52ef16fb2d7;hp=d51970e952d5a3326020aaf5745463d1e5f3cf5b;hb=8d720b2c2e569885c6e1e7eab68d36f31818ed84;hpb=1d5dd0c269a58e0592897ff5b9261301a483777e diff --git a/state.c b/state.c index d51970e..3b56bd0 100644 --- a/state.c +++ b/state.c @@ -111,7 +111,6 @@ static void state_enter(void) set_stdio("console"); LOG("- ubus -\n"); procd_connect_ubus(); - service_init(); service_start_early("ubus", ubus_cmd); break; @@ -129,6 +128,8 @@ static void state_enter(void) case STATE_RUNNING: LOG("- init complete -\n"); + procd_inittab_run("respawnlate"); + procd_inittab_run("askconsolelate"); break; case STATE_SHUTDOWN: