aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 3b3c166b9..ee85fb0fb 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -7,9 +7,28 @@
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 LSMOD
11//config: bool "lsmod"
12//config: default n
13//config: depends on !MODPROBE_SMALL
14//config: select PLATFORM_LINUX
15//config: help
16//config: lsmod is used to display a list of loaded modules.
17//config:
18//config:config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
19//config: bool "Pretty output"
20//config: default n
21//config: depends on LSMOD
22//config: select PLATFORM_LINUX
23//config: help
24//config: This option makes output format of lsmod adjusted to
25//config: the format of module-init-tools for Linux kernel 2.6.
26//config: Increases size somewhat.
10 27
11//applet:IF_LSMOD(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP)) 28//applet:IF_LSMOD(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP))
12 29
30//kbuild:lib-$(CONFIG_LSMOD) += lsmod.o modutils.o
31
13//usage:#if !ENABLE_MODPROBE_SMALL 32//usage:#if !ENABLE_MODPROBE_SMALL
14//usage:#define lsmod_trivial_usage 33//usage:#define lsmod_trivial_usage
15//usage: "" 34//usage: ""