Add missing show levels switch.

This commit is contained in:
Roy Marples 2009-04-24 10:23:49 +00:00
parent 9966a902ab
commit b0ac71fe2a

View File

@ -219,6 +219,11 @@ rc_status(int argc, char **argv)
}
goto exit;
/* NOTREACHED */
case 'l':
levels = rc_runlevel_list();
TAILQ_FOREACH(l, levels, entries)
printf("%s\n", l->value);
goto exit;
case 'r':
runlevel = rc_runlevel_get();
printf("%s\n", runlevel);