X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=inittab.c;h=21172f7c065cdc9474ca037398757e9b78b026a8;hp=ae2c431223fb45ebd18860b93914573534dd8c96;hb=8d720b2c2e569885c6e1e7eab68d36f31818ed84;hpb=ba0ef6bea720c6cb263c034787fdd1ebe75be2fa diff --git a/inittab.c b/inittab.c index ae2c431..21172f7 100644 --- a/inittab.c +++ b/inittab.c @@ -228,6 +228,14 @@ static struct init_handler handlers[] = { .name = "respawn", .cb = rcrespawn, .multi = 1, + }, { + .name = "askconsolelate", + .cb = askconsole, + .multi = 1, + }, { + .name = "respawnlate", + .cb = rcrespawn, + .multi = 1, } }; @@ -295,7 +303,7 @@ void procd_inittab(void) if (regexec(&pat_inittab, line, 5, matches, 0)) continue; - DEBUG(4, "Parsing inittab - %s", line); + DEBUG(4, "Parsing inittab - %s\n", line); for (i = TAG_ID; i <= TAG_PROCESS; i++) { line[matches[i].rm_eo] = '\0';