diff options
Diffstat (limited to 'console-tools/setconsole.c')
-rw-r--r-- | console-tools/setconsole.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c index c0051dcc8..58057268d 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c | |||
@@ -7,6 +7,24 @@ | |||
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | //config:config SETCONSOLE | ||
11 | //config: bool "setconsole" | ||
12 | //config: default y | ||
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | ||
15 | //config: This program redirects the system console to another device, | ||
16 | //config: like the current tty while logged in via telnet. | ||
17 | //config: | ||
18 | //config:config FEATURE_SETCONSOLE_LONG_OPTIONS | ||
19 | //config: bool "Enable long options" | ||
20 | //config: default y | ||
21 | //config: depends on SETCONSOLE && LONG_OPTS | ||
22 | //config: help | ||
23 | //config: Support long options for the setconsole applet. | ||
24 | |||
25 | //applet:IF_SETCONSOLE(APPLET(setconsole, BB_DIR_SBIN, BB_SUID_DROP)) | ||
26 | |||
27 | //kbuild:lib-$(CONFIG_SETCONSOLE) += setconsole.o | ||
10 | 28 | ||
11 | //usage:#define setconsole_trivial_usage | 29 | //usage:#define setconsole_trivial_usage |
12 | //usage: "[-r" IF_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]" | 30 | //usage: "[-r" IF_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]" |