From: Cristiano Giuffrida Date: Mon, 5 Jul 2010 19:37:08 +0000 (+0000) Subject: Configure settings for system services dynamically with the new service edit command. X-Git-Tag: v3.1.8~282 X-Git-Url: http://zhaoyanbai.com/repos/nsupdate.html?a=commitdiff_plain;h=3de6a807ce6f8c5ecc01befee5588326ad3befe6;p=minix.git Configure settings for system services dynamically with the new service edit command. --- diff --git a/commands/service/service.c b/commands/service/service.c index 59c13bf51..ba5e4e89f 100644 --- a/commands/service/service.c +++ b/commands/service/service.c @@ -46,6 +46,7 @@ PRIVATE char *known_requests[] = { "shutdown", "update", "clone", + "edit", "catch for illegal requests" }; #define ILLEGAL_REQUEST sizeof(known_requests)/sizeof(char *) @@ -135,7 +136,7 @@ PRIVATE void print_usage(char *app_name, char *problem) fprintf(stderr, "Warning, %s\n", problem); fprintf(stderr, "Usage:\n"); fprintf(stderr, - " %s [%s %s %s %s] (up|run|update) [%s ] [%s ] [%s