Add basic support to specify login TTYs in configuration

This also adds support for monitor /dev for TTYs appering after boot,
USB-to-serial converters for example.

Some limitations: Baudrate (and other settings) is hardcoded for now,
should be read from config file.
This commit is contained in:
Mattias Walström committed 2013-01-22 21:17:20 +01:00
1 parent a18c5f3441
commit 5961748b2a
7 files changed
+200 -57

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ void set_hostname (char *hostname);
int run (char *cmd);
int run_interactive (char *cmd, char *fmt, ...);
pid_t run_getty (char *cmd, char *argv[]);
pid_t run_getty (char *cmd, int console);
int run_parts (char *dir, char *cmd);
/* strlcpy.c */