diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-15 11:29:02 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-15 11:29:02 +0200 |
commit | c15613c9757f5a26da3623c1bcfa3580c81b74c3 (patch) | |
tree | 2da9f22659e539ec07a05a655269e9ca4f48f6d8 /modutils/modprobe-small.c | |
parent | f2710d02210bbba4a9580c11ff053b01081eaf54 (diff) | |
download | busybox-w32-c15613c9757f5a26da3623c1bcfa3580c81b74c3.tar.gz busybox-w32-c15613c9757f5a26da3623c1bcfa3580c81b74c3.tar.bz2 busybox-w32-c15613c9757f5a26da3623c1bcfa3580c81b74c3.zip |
modutils/*: move applet bits into corresponding *.c files
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'modutils/modprobe-small.c')
-rw-r--r-- | modutils/modprobe-small.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index e0d251ee9..86470892a 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c | |||
@@ -8,6 +8,12 @@ | |||
8 | * Licensed under GPLv2, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | //applet:IF_MODPROBE_SMALL(APPLET(modprobe, _BB_DIR_SBIN, _BB_SUID_DROP)) | ||
12 | //applet:IF_MODPROBE_SMALL(APPLET_ODDNAME(depmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe)) | ||
13 | //applet:IF_MODPROBE_SMALL(APPLET_ODDNAME(insmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe)) | ||
14 | //applet:IF_MODPROBE_SMALL(APPLET_ODDNAME(lsmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe)) | ||
15 | //applet:IF_MODPROBE_SMALL(APPLET_ODDNAME(rmmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe)) | ||
16 | |||
11 | #include "libbb.h" | 17 | #include "libbb.h" |
12 | /* After libbb.h, since it needs sys/types.h on some systems */ | 18 | /* After libbb.h, since it needs sys/types.h on some systems */ |
13 | #include <sys/utsname.h> /* uname() */ | 19 | #include <sys/utsname.h> /* uname() */ |