summaryrefslogtreecommitdiff
path: root/procps/renice.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-23 06:23:44 +0100
committerDenys Vlasenko2016-11-23 06:23:44 +0100
commitf8f81ed7aaf90897fa9a4687dac75152740a71e2 (patch)
treea5c624d8187016e4369be0be2667a2f5de752d03 /procps/renice.c
parentf88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (diff)
downloadbusybox-f8f81ed7aaf90897fa9a4687dac75152740a71e2.zip
busybox-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.gz
Convert all procps/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/renice.c')
-rw-r--r--procps/renice.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/procps/renice.c b/procps/renice.c
index 2b690e0..64213c6 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -18,6 +18,16 @@
* options -p, -g, and -u are treated as mode switches for the
* following IDs (if any). Multiple switches are allowed.
*/
+//config:config RENICE
+//config: bool "renice"
+//config: default y
+//config: help
+//config: Renice alters the scheduling priority of one or more running
+//config: processes.
+
+//applet:IF_RENICE(APPLET(renice, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_RENICE) += renice.o
//usage:#define renice_trivial_usage
//usage: "[-n] PRIORITY [[-p | -g | -u] ID...]..."