diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-20 14:20:07 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-20 14:21:29 +0100 |
commit | 2635369a92db338321b2ba38e73539992967357c (patch) | |
tree | 74c31a681f0188e8d35396f4e64dec4bfe0943f4 /miscutils/rfkill.c | |
parent | 0545e3b69ab57af1c21d199611c56b7f7593c8c5 (diff) | |
download | busybox-w32-2635369a92db338321b2ba38e73539992967357c.tar.gz busybox-w32-2635369a92db338321b2ba38e73539992967357c.tar.bz2 busybox-w32-2635369a92db338321b2ba38e73539992967357c.zip |
rfkill: use new-style config/kbuild/applet
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/rfkill.c')
-rw-r--r-- | miscutils/rfkill.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/miscutils/rfkill.c b/miscutils/rfkill.c index 467197371..7411b6fc3 100644 --- a/miscutils/rfkill.c +++ b/miscutils/rfkill.c | |||
@@ -7,6 +7,23 @@ | |||
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | //config:config RFKILL | ||
11 | //config: bool "rfkill" | ||
12 | //config: default n # doesn't build on Ubuntu 9.04 | ||
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | ||
15 | //config: Enable/disable wireless devices. | ||
16 | //config: | ||
17 | //config: rfkill list : list all wireless devices | ||
18 | //config: rfkill list bluetooth : list all bluetooth devices | ||
19 | //config: rfkill list 1 : list device corresponding to the given index | ||
20 | //config: rfkill block|unblock wlan : block/unblock all wlan(wifi) devices | ||
21 | //config: | ||
22 | |||
23 | //applet:IF_RFKILL(APPLET(rfkill, BB_DIR_USR_SBIN, BB_SUID_DROP)) | ||
24 | |||
25 | //kbuild:lib-$(CONFIG_RFKILL) += rfkill.o | ||
26 | |||
10 | //usage:#define rfkill_trivial_usage | 27 | //usage:#define rfkill_trivial_usage |
11 | //usage: "COMMAND [INDEX|TYPE]" | 28 | //usage: "COMMAND [INDEX|TYPE]" |
12 | //usage:#define rfkill_full_usage "\n\n" | 29 | //usage:#define rfkill_full_usage "\n\n" |