aboutsummaryrefslogtreecommitdiff
path: root/miscutils/runlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/runlevel.c')
-rw-r--r--miscutils/runlevel.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c
index 8558db862..b6412a6ea 100644
--- a/miscutils/runlevel.c
+++ b/miscutils/runlevel.c
@@ -11,6 +11,19 @@
11 * 11 *
12 * initially busyboxified by Bernhard Reutner-Fischer 12 * initially busyboxified by Bernhard Reutner-Fischer
13 */ 13 */
14//config:config RUNLEVEL
15//config: bool "runlevel"
16//config: default y
17//config: depends on FEATURE_UTMP
18//config: help
19//config: find the current and previous system runlevel.
20//config:
21//config: This applet uses utmp but does not rely on busybox supporing
22//config: utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
23
24//applet:IF_RUNLEVEL(APPLET(runlevel, BB_DIR_SBIN, BB_SUID_DROP))
25
26//kbuild:lib-$(CONFIG_RUNLEVEL) += runlevel.o
14 27
15//usage:#define runlevel_trivial_usage 28//usage:#define runlevel_trivial_usage
16//usage: "[FILE]" 29//usage: "[FILE]"