mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
Minor, improve comments in parse_dynamic()
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
d54d5b7f20
commit
545171a8b2
1 file changed
+3
@@ -336,17 +336,20 @@ static void parse_dynamic(char *line, struct timeval *mtime)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Read resource limits */
|
||||||
if (MATCH_CMD(line, "rlimit ", x)) {
|
if (MATCH_CMD(line, "rlimit ", x)) {
|
||||||
conf_parse_rlimit(x);
|
conf_parse_rlimit(x);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Special TTY console powers */
|
||||||
if (MATCH_CMD(line, "console ", x)) {
|
if (MATCH_CMD(line, "console ", x)) {
|
||||||
if (console) free(console);
|
if (console) free(console);
|
||||||
console = strdup(strip_line(x));
|
console = strdup(strip_line(x));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Regular or serial TTYs to run getty */
|
||||||
if (MATCH_CMD(line, "tty ", x)) {
|
if (MATCH_CMD(line, "tty ", x)) {
|
||||||
tty_register(strip_line(x), mtime);
|
tty_register(strip_line(x), mtime);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user