summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/s6-rc/s6-rc.c b/src/s6-rc/s6-rc.c
index 0a14c32..2b13e8f 100644
--- a/src/s6-rc/s6-rc.c
+++ b/src/s6-rc/s6-rc.c
@@ -442,6 +442,8 @@ static inline unsigned int parse_command (char const *command)
"listall",
"diff",
"change",
+ "start",
+ "stop",
0
} ;
unsigned int i = lookup(command_table, command) ;
@@ -506,6 +508,14 @@ int main (int argc, char const *const *argv)
print_help() ;
return 0 ;
}
+ if (what == 5)
+ {
+ what = 4 ; up = 1 ; prune = 0 ;
+ }
+ else if (what == 6)
+ {
+ what = 4 ; up = 0 ; prune = 0 ;
+ }
livelen = strlen(live) ;