summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 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" \