diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 07:54:52 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 07:54:52 +0100 |
commit | e32b64c4ec9272295df6852fb2a2888d7799d2f0 (patch) | |
tree | fa64292eb0697f7963060ad6d41f1d76b4978dff /modutils/rmmod.c | |
parent | 5467d268f09ddddd200ab14fd402831708be5dfd (diff) | |
download | busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.gz busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.bz2 busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.zip |
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.c | 9 |
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 @@ | |||
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | //config:config RMMOD | ||
11 | //config: bool "rmmod" | ||
12 | //config: default n | ||
13 | //config: depends on !MODPROBE_SMALL | ||
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | ||
16 | //config: rmmod is used to unload specified modules from the kernel. | ||
10 | 17 | ||
11 | //applet:IF_RMMOD(APPLET(rmmod, BB_DIR_SBIN, BB_SUID_DROP)) | 18 | //applet:IF_RMMOD(APPLET(rmmod, BB_DIR_SBIN, BB_SUID_DROP)) |
12 | 19 | ||
20 | //kbuild:lib-$(CONFIG_RMMOD) += rmmod.o modutils.o | ||
21 | |||
13 | //usage:#if !ENABLE_MODPROBE_SMALL | 22 | //usage:#if !ENABLE_MODPROBE_SMALL |
14 | //usage:#define rmmod_trivial_usage | 23 | //usage:#define rmmod_trivial_usage |
15 | //usage: "[-wfa] [MODULE]..." | 24 | //usage: "[-wfa] [MODULE]..." |