diff options
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 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)) | |||
321 | IF_RESET(APPLET(reset, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 321 | IF_RESET(APPLET(reset, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
322 | IF_RESIZE(APPLET(resize, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 322 | IF_RESIZE(APPLET(resize, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
323 | IF_RESTORECON(APPLET_ODDNAME(restorecon, setfiles, _BB_DIR_SBIN, _BB_SUID_DROP, restorecon)) | 323 | IF_RESTORECON(APPLET_ODDNAME(restorecon, setfiles, _BB_DIR_SBIN, _BB_SUID_DROP, restorecon)) |
324 | IF_RFKILL(APPLET(rfkill, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) | ||
324 | IF_RM(APPLET_NOFORK(rm, rm, _BB_DIR_BIN, _BB_SUID_DROP, rm)) | 325 | IF_RM(APPLET_NOFORK(rm, rm, _BB_DIR_BIN, _BB_SUID_DROP, rm)) |
325 | IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, _BB_DIR_BIN, _BB_SUID_DROP, rmdir)) | 326 | IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, _BB_DIR_BIN, _BB_SUID_DROP, rmdir)) |
326 | IF_RMMOD(APPLET(rmmod, _BB_DIR_SBIN, _BB_SUID_DROP)) | 327 | IF_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" \ |