diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 8ef5f46..d6aee55 100644 --- a/include/applets.h +++ b/include/applets.h @@ -552,6 +552,9 @@ #ifdef CONFIG_SEQ APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_SETCONSOLE + APPLET(setconsole, setconsole_main, _BB_DIR_SBIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_SETKEYCODES APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index 291ccb9..967ab3f 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2351,6 +2351,13 @@ "\tFIRST\tLAST\n" \ "\tFIRST\tINCREMENT\tLAST" +#define setconsole_trivial_usage \ + "[-r|--reset] [DEVICE]" +#define setconsole_full_usage \ + "Redirects system console output to DEVICE (default: /dev/tty).\n\n" \ + "Options:\n" \ + "\t-r\tReset output to /dev/console." + #define setkeycodes_trivial_usage \ "SCANCODE KEYCODE ..." #define setkeycodes_full_usage \ |