rc-status: comment consistecy
This commit is contained in:
parent
476272be0c
commit
b73d326387
@ -297,6 +297,7 @@ int main(int argc, char **argv)
|
|||||||
TAILQ_FOREACH(l, levels, entries)
|
TAILQ_FOREACH(l, levels, entries)
|
||||||
printf("%s\n", l->value);
|
printf("%s\n", l->value);
|
||||||
goto exit;
|
goto exit;
|
||||||
|
/* NOTREACHED */
|
||||||
case 'm':
|
case 'm':
|
||||||
services = rc_services_in_runlevel(NULL);
|
services = rc_services_in_runlevel(NULL);
|
||||||
levels = rc_runlevel_list();
|
levels = rc_runlevel_list();
|
||||||
@ -318,6 +319,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
print_services(NULL, services, format);
|
print_services(NULL, services, format);
|
||||||
goto exit;
|
goto exit;
|
||||||
|
/* NOTREACHED */
|
||||||
case 'r':
|
case 'r':
|
||||||
runlevel = rc_runlevel_get();
|
runlevel = rc_runlevel_get();
|
||||||
printf("%s\n", runlevel);
|
printf("%s\n", runlevel);
|
||||||
@ -448,6 +450,7 @@ int main(int argc, char **argv)
|
|||||||
* be added to the list
|
* be added to the list
|
||||||
*/
|
*/
|
||||||
unsetenv("RC_SVCNAME");
|
unsetenv("RC_SVCNAME");
|
||||||
|
|
||||||
print_level("Dynamic", "needed/wanted", format);
|
print_level("Dynamic", "needed/wanted", format);
|
||||||
print_services(NULL, nservices, format);
|
print_services(NULL, nservices, format);
|
||||||
print_level("Dynamic", "manual", format);
|
print_level("Dynamic", "manual", format);
|
||||||
|
Loading…
Reference in New Issue
Block a user