diff options
author | Denys Vlasenko | 2016-11-23 10:39:27 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-23 10:39:27 +0100 |
commit | 6d9329935c0621ddc056aee0d30cec52a24da499 (patch) | |
tree | 8b78faf3893c364337b138a9e8c20bfa4a286273 /console-tools/setconsole.c | |
parent | c19f7584e14522043da141189711c8db72dfbc90 (diff) | |
download | busybox-6d9329935c0621ddc056aee0d30cec52a24da499.zip busybox-6d9329935c0621ddc056aee0d30cec52a24da499.tar.gz |
Convert all console-tools/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 c0051dc..5805726 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c @@ -7,6 +7,24 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +//config:config SETCONSOLE +//config: bool "setconsole" +//config: default y +//config: select PLATFORM_LINUX +//config: help +//config: This program redirects the system console to another device, +//config: like the current tty while logged in via telnet. +//config: +//config:config FEATURE_SETCONSOLE_LONG_OPTIONS +//config: bool "Enable long options" +//config: default y +//config: depends on SETCONSOLE && LONG_OPTS +//config: help +//config: Support long options for the setconsole applet. + +//applet:IF_SETCONSOLE(APPLET(setconsole, BB_DIR_SBIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_SETCONSOLE) += setconsole.o //usage:#define setconsole_trivial_usage //usage: "[-r" IF_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]" |