aboutsummaryrefslogtreecommitdiff
path: root/miscutils/runlevel.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2016-11-29 11:26:45 +0000
committerRon Yorston <rmy@pobox.com>2016-11-29 11:26:45 +0000
commitbb8d79eadbba1942dbdb9f9cee5c47833afe269f (patch)
treeb8c517e9ca895d60d7227aef7177b6291df5e2cd /miscutils/runlevel.c
parent9fa1e4990e655a85025c9d270a1606983e375e47 (diff)
parent7d877fc9312a742b06125927bb1d34bd35398c6c (diff)
downloadbusybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.gz
busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.bz2
busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.zip
Merge branch 'busybox' into merge
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]"