aboutsummaryrefslogtreecommitdiff
path: root/modutils/rmmod.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 07:54:52 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 07:54:52 +0100
commite32b64c4ec9272295df6852fb2a2888d7799d2f0 (patch)
treefa64292eb0697f7963060ad6d41f1d76b4978dff /modutils/rmmod.c
parent5467d268f09ddddd200ab14fd402831708be5dfd (diff)
downloadbusybox-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.gz
Convert all modutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/rmmod.c')
-rw-r--r--modutils/rmmod.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index 5c353ef95..e0358838a 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -7,9 +7,18 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+//config:config RMMOD
+//config: bool "rmmod"
+//config: default n
+//config: depends on !MODPROBE_SMALL
+//config: select PLATFORM_LINUX
+//config: help
+//config: rmmod is used to unload specified modules from the kernel.
//applet:IF_RMMOD(APPLET(rmmod, BB_DIR_SBIN, BB_SUID_DROP))
+//kbuild:lib-$(CONFIG_RMMOD) += rmmod.o modutils.o
+
//usage:#if !ENABLE_MODPROBE_SMALL
//usage:#define rmmod_trivial_usage
//usage: "[-wfa] [MODULE]..."