Initial support for inetd/on-demand services \o/

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-02-09 00:43:15 +01:00
1 parent 0d098616e8
commit a5b9f566b3
7 files changed
+315 -17

No files matched your search

+6
View File
@@ -244,6 +244,12 @@ static int parse_conf(char *file)
continue;
}
/* Classic inetd service */
if (MATCH_CMD(line, "inetd ", x)) {
svc_register(SVC_CMD_INETD, x, NULL);
continue;
}
if (MATCH_CMD(line, "console ", x)) {
if (console) free(console);
console = strdup(strip_line(x));