summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSouf Oued <souf_oued@yahoo.fr>2010-05-02 18:45:02 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-02 18:45:02 +0200
commit43afd75ea8de1c891c3c0a520cbb117e3f1ad49e (patch)
tree4e72a22fa71c0615f464f91e34bb0c5a10bf76ba /include
parentfde3fb3009765b273d4d717a7e4609ff7f9461ae (diff)
downloadbusybox-w32-43afd75ea8de1c891c3c0a520cbb117e3f1ad49e.tar.gz
busybox-w32-43afd75ea8de1c891c3c0a520cbb117e3f1ad49e.tar.bz2
busybox-w32-43afd75ea8de1c891c3c0a520cbb117e3f1ad49e.zip
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.h1
-rw-r--r--include/usage.h12
2 files changed, 13 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 83c1792ac..ef5dd781d 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -321,6 +321,7 @@ IF_RENICE(APPLET(renice, _BB_DIR_USR_BIN, _BB_SUID_DROP))
321IF_RESET(APPLET(reset, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 321IF_RESET(APPLET(reset, _BB_DIR_USR_BIN, _BB_SUID_DROP))
322IF_RESIZE(APPLET(resize, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 322IF_RESIZE(APPLET(resize, _BB_DIR_USR_BIN, _BB_SUID_DROP))
323IF_RESTORECON(APPLET_ODDNAME(restorecon, setfiles, _BB_DIR_SBIN, _BB_SUID_DROP, restorecon)) 323IF_RESTORECON(APPLET_ODDNAME(restorecon, setfiles, _BB_DIR_SBIN, _BB_SUID_DROP, restorecon))
324IF_RFKILL(APPLET(rfkill, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
324IF_RM(APPLET_NOFORK(rm, rm, _BB_DIR_BIN, _BB_SUID_DROP, rm)) 325IF_RM(APPLET_NOFORK(rm, rm, _BB_DIR_BIN, _BB_SUID_DROP, rm))
325IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, _BB_DIR_BIN, _BB_SUID_DROP, rmdir)) 326IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, _BB_DIR_BIN, _BB_SUID_DROP, rmdir))
326IF_RMMOD(APPLET(rmmod, _BB_DIR_SBIN, _BB_SUID_DROP)) 327IF_RMMOD(APPLET(rmmod, _BB_DIR_SBIN, _BB_SUID_DROP))
diff --git a/include/usage.h b/include/usage.h
index 38594811e..2c2a90d16 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3738,6 +3738,18 @@
3738 "\n for customizable files, or the user section," \ 3738 "\n for customizable files, or the user section," \
3739 "\n if it has changed" \ 3739 "\n if it has changed" \
3740 3740
3741#define rfkill_trivial_usage \
3742 "COMMAND [INDEX|TYPE]"
3743#define rfkill_full_usage "\n\n" \
3744 "Enable/disable wireless devices\n" \
3745 "\nCommands:" \
3746 "\n list [INDEX|TYPE] List current state" \
3747 "\n block INDEX|TYPE Disable device" \
3748 "\n unblock INDEX|TYPE Enable device" \
3749 "\n" \
3750 "\n TYPE: all, wlan(wifi), bluetooth, uwb(ultrawideband)," \
3751 "\n wimax, wwan, gps, fm" \
3752
3741#define rm_trivial_usage \ 3753#define rm_trivial_usage \
3742 "[OPTIONS] FILE..." 3754 "[OPTIONS] FILE..."
3743#define rm_full_usage "\n\n" \ 3755#define rm_full_usage "\n\n" \