diff options
author | Souf Oued | 2010-05-02 18:45:02 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-05-02 18:45:02 +0200 |
commit | 43afd75ea8de1c891c3c0a520cbb117e3f1ad49e (patch) | |
tree | 4e72a22fa71c0615f464f91e34bb0c5a10bf76ba /include | |
parent | fde3fb3009765b273d4d717a7e4609ff7f9461ae (diff) | |
download | busybox-43afd75ea8de1c891c3c0a520cbb117e3f1ad49e.zip busybox-43afd75ea8de1c891c3c0a520cbb117e3f1ad49e.tar.gz |
rfkill: new applet
function old new delta
rfkill_main - 683 +683
packed_usage 26824 26966 +142
static.rfkill_types - 42 +42
applet_names 2216 2223 +7
applet_main 1300 1304 +4
applet_nameofs 650 652 +2
Signed-off-by: Souf Oued <souf_oued@yahoo.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 83c1792..ef5dd78 100644 --- a/include/applets.h +++ b/include/applets.h @@ -321,6 +321,7 @@ IF_RENICE(APPLET(renice, _BB_DIR_USR_BIN, _BB_SUID_DROP)) IF_RESET(APPLET(reset, _BB_DIR_USR_BIN, _BB_SUID_DROP)) IF_RESIZE(APPLET(resize, _BB_DIR_USR_BIN, _BB_SUID_DROP)) IF_RESTORECON(APPLET_ODDNAME(restorecon, setfiles, _BB_DIR_SBIN, _BB_SUID_DROP, restorecon)) +IF_RFKILL(APPLET(rfkill, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) IF_RM(APPLET_NOFORK(rm, rm, _BB_DIR_BIN, _BB_SUID_DROP, rm)) IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, _BB_DIR_BIN, _BB_SUID_DROP, rmdir)) IF_RMMOD(APPLET(rmmod, _BB_DIR_SBIN, _BB_SUID_DROP)) diff --git a/include/usage.h b/include/usage.h index 3859481..2c2a90d 100644 --- a/include/usage.h +++ b/include/usage.h @@ -3738,6 +3738,18 @@ "\n for customizable files, or the user section," \ "\n if it has changed" \ +#define rfkill_trivial_usage \ + "COMMAND [INDEX|TYPE]" +#define rfkill_full_usage "\n\n" \ + "Enable/disable wireless devices\n" \ + "\nCommands:" \ + "\n list [INDEX|TYPE] List current state" \ + "\n block INDEX|TYPE Disable device" \ + "\n unblock INDEX|TYPE Enable device" \ + "\n" \ + "\n TYPE: all, wlan(wifi), bluetooth, uwb(ultrawideband)," \ + "\n wimax, wwan, gps, fm" \ + #define rm_trivial_usage \ "[OPTIONS] FILE..." #define rm_full_usage "\n\n" \ |