aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h12
2 files changed, 15 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 2b2c45d67..ec3a892d0 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -565,6 +565,9 @@
565#ifdef CONFIG_RUN_PARTS 565#ifdef CONFIG_RUN_PARTS
566 APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts) 566 APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts)
567#endif 567#endif
568#if BB_APPLET_RUNLEVEL
569 APPLET(runlevel, runlevel_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
570#endif
568#ifdef CONFIG_RX 571#ifdef CONFIG_RX
569 APPLET(rx, rx_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 572 APPLET(rx, rx_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
570#endif 573#endif
diff --git a/include/usage.h b/include/usage.h
index 79a61d20a..a82230e41 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2450,6 +2450,18 @@
2450 "\t-a ARG\tPass ARG as an argument for every program invoked\n" \ 2450 "\t-a ARG\tPass ARG as an argument for every program invoked\n" \
2451 "\t-u MASK\tSet the umask to MASK before executing every program" 2451 "\t-u MASK\tSet the umask to MASK before executing every program"
2452 2452
2453#if BB_APPLET_RUNLEVEL
2454#define runlevel_trivial_usage \
2455 "[utmp]"
2456#define runlevel_full_usage \
2457 "Find the current and previous system runlevel.\n\n" \
2458 "If no utmp file exists or if no runlevel record can be found,\n" \
2459 "runlevel prints \"unknown\""
2460#define runlevel_example_usage \
2461 "$ runlevel /var/run/utmp\n" \
2462 "N 2"
2463#endif
2464
2453#define rx_trivial_usage \ 2465#define rx_trivial_usage \
2454 "FILE" 2466 "FILE"
2455#define rx_full_usage \ 2467#define rx_full_usage \