Fix #79: Add 'nowait' option to tty setting, external getty

This patch makes it possible to disable the "Please press Enter" prompt
when using an external getty. Simply append `nowait` to the .conf entry
and Finit will spawn the getty immediately.

A future patch will add support for `noclear` as well to external getty,
as well as a change in default (=> `wait`) for the built-in getty.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-08-31 00:51:11 +02:00
1 parent 2fe257b7af
commit f273ecc135
4 files changed
+56 -35

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ typedef struct {
char *baud;
char *term;
int noclear;
int nowait;
int runlevels;
char *cmd; /* NULL when running built-in getty */