summaryrefslogtreecommitdiff
path: root/miscutils/runlevel.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-22 23:14:24 +0100
committerDenys Vlasenko2016-11-22 23:14:24 +0100
commitfb4da167114e96d7f20ef97474f976f8ffa604e7 (patch)
tree6f688202bc89ffa68b6679d1b252fd69b7471c94 /miscutils/runlevel.c
parent9f8eb1ee7620020e01b3596ac7259d51ebca7a7b (diff)
downloadbusybox-fb4da167114e96d7f20ef97474f976f8ffa604e7.zip
busybox-fb4da167114e96d7f20ef97474f976f8ffa604e7.tar.gz
Split miscutils/Config.src items into miscutils/*.c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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]"