rfkill: use new-style config/kbuild/applet
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
0545e3b69a
commit
2635369a92
4 changed files with 17 additions and 14 deletions
|
@ -7,6 +7,23 @@
|
|||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||
*/
|
||||
|
||||
//config:config RFKILL
|
||||
//config: bool "rfkill"
|
||||
//config: default n # doesn't build on Ubuntu 9.04
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Enable/disable wireless devices.
|
||||
//config:
|
||||
//config: rfkill list : list all wireless devices
|
||||
//config: rfkill list bluetooth : list all bluetooth devices
|
||||
//config: rfkill list 1 : list device corresponding to the given index
|
||||
//config: rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
|
||||
//config:
|
||||
|
||||
//applet:IF_RFKILL(APPLET(rfkill, BB_DIR_USR_SBIN, BB_SUID_DROP))
|
||||
|
||||
//kbuild:lib-$(CONFIG_RFKILL) += rfkill.o
|
||||
|
||||
//usage:#define rfkill_trivial_usage
|
||||
//usage: "COMMAND [INDEX|TYPE]"
|
||||
//usage:#define rfkill_full_usage "\n\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue