summaryrefslogtreecommitdiff
path: root/miscutils/runlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/runlevel.c')
-rw-r--r--miscutils/runlevel.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c
index 8558db8..7c07a72 100644
--- a/miscutils/runlevel.c
+++ b/miscutils/runlevel.c
@@ -11,6 +11,15 @@
*
* initially busyboxified by Bernhard Reutner-Fischer
*/
+//config:config RUNLEVEL
+//config: bool "runlevel"
+//config: default y
+//config: depends on FEATURE_UTMP
+//config: help
+//config: find the current and previous system runlevel.
+//config:
+//config: This applet uses utmp but does not rely on busybox supporing
+//config: utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
//usage:#define runlevel_trivial_usage
//usage: "[FILE]"