diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-16 01:56:41 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-16 01:56:41 +0200 |
commit | 1a5e11c874a1f53c5205140a9d675b7e6404bbc9 (patch) | |
tree | de2ce1f3b0d653b26513dbe37f980616d1500491 /modutils/rmmod.c | |
parent | 70186711f45816bdf4562831af3bd995172eb47b (diff) | |
download | busybox-w32-1a5e11c874a1f53c5205140a9d675b7e6404bbc9.tar.gz busybox-w32-1a5e11c874a1f53c5205140a9d675b7e6404bbc9.tar.bz2 busybox-w32-1a5e11c874a1f53c5205140a9d675b7e6404bbc9.zip |
modutils/*: move help bits into corresponding .c files
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'modutils/rmmod.c')
-rw-r--r-- | modutils/rmmod.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 51390eb83..dde77731f 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c | |||
@@ -10,6 +10,19 @@ | |||
10 | 10 | ||
11 | //applet:IF_RMMOD(APPLET(rmmod, _BB_DIR_SBIN, _BB_SUID_DROP)) | 11 | //applet:IF_RMMOD(APPLET(rmmod, _BB_DIR_SBIN, _BB_SUID_DROP)) |
12 | 12 | ||
13 | //usage:#if !ENABLE_MODPROBE_SMALL | ||
14 | //usage:#define rmmod_trivial_usage | ||
15 | //usage: "[-wfa] [MODULE]..." | ||
16 | //usage:#define rmmod_full_usage "\n\n" | ||
17 | //usage: "Unload kernel modules\n" | ||
18 | //usage: "\nOptions:" | ||
19 | //usage: "\n -w Wait until the module is no longer used" | ||
20 | //usage: "\n -f Force unload" | ||
21 | //usage: "\n -a Remove all unused modules (recursively)" | ||
22 | //usage:#define rmmod_example_usage | ||
23 | //usage: "$ rmmod tulip\n" | ||
24 | //usage:#endif | ||
25 | |||
13 | #include "libbb.h" | 26 | #include "libbb.h" |
14 | #include "modutils.h" | 27 | #include "modutils.h" |
15 | 28 | ||