aboutsummaryrefslogtreecommitdiff
path: root/modutils/modprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/modprobe.c')
-rw-r--r--modutils/modprobe.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index 8130c40b7..d404ef92f 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -7,9 +7,31 @@
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 MODPROBE
11//config: bool "modprobe"
12//config: default n
13//config: depends on !MODPROBE_SMALL
14//config: select PLATFORM_LINUX
15//config: help
16//config: Handle the loading of modules, and their dependencies on a high
17//config: level.
18//config:
19//config:config FEATURE_MODPROBE_BLACKLIST
20//config: bool "Blacklist support"
21//config: default n
22//config: depends on MODPROBE
23//config: select PLATFORM_LINUX
24//config: help
25//config: Say 'y' here to enable support for the 'blacklist' command in
26//config: modprobe.conf. This prevents the alias resolver to resolve
27//config: blacklisted modules. This is useful if you want to prevent your
28//config: hardware autodetection scripts to load modules like evdev, frame
29//config: buffer drivers etc.
10 30
11//applet:IF_MODPROBE(APPLET(modprobe, BB_DIR_SBIN, BB_SUID_DROP)) 31//applet:IF_MODPROBE(APPLET(modprobe, BB_DIR_SBIN, BB_SUID_DROP))
12 32
33//kbuild:lib-$(CONFIG_MODPROBE) += modprobe.o modutils.o
34
13#include "libbb.h" 35#include "libbb.h"
14#include "modutils.h" 36#include "modutils.h"
15#include <sys/utsname.h> 37#include <sys/utsname.h>