mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
Remove long since deprecated finit.conf: console <DEV> support
All this code did was trigger prctl() to set process name to "console", which you could use as a simple means of figuring out if a process was started from the system console. There are other ways to do this, which Finit should not be involved in. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
51c5f3cbfa
commit
c76a58ef7a
7 files changed
+10
-32
No files matched your search
@@ -347,13 +347,6 @@ static void parse_dynamic(char *line, struct timeval *mtime)
|
||||
return;
|
||||
}
|
||||
|
||||
/* Special TTY console powers */
|
||||
if (MATCH_CMD(line, "console ", x)) {
|
||||
if (console) free(console);
|
||||
console = strdup(strip_line(x));
|
||||
return;
|
||||
}
|
||||
|
||||
/* Regular or serial TTYs to run getty */
|
||||
if (MATCH_CMD(line, "tty ", x)) {
|
||||
tty_register(strip_line(x), mtime);
|
||||
|
||||
Reference in new issue
Block a user