Steal controlling TTY on fallback console to enable job control.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-01-18 22:25:04 +01:00
1 parent 9f5172b0d1
commit dea3ae857b
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ void tty_start(finit_tty_t *tty)
#elif defined(GETTY_BUSYBOX)
snprintf(line, sizeof(line), "%s %d %s %s", GETTY, tty->baud, tty->name, tty->term ?: "");
#else
strlcpy(line, FALLBACK_CONSOLE, sizeof(line));
strlcpy(line, FALLBACK_SHELL, sizeof(line));
#endif
} else {
strlcpy(line, tty->name, sizeof(line));