aboutsummaryrefslogtreecommitdiff
path: root/console-tools/fgconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/fgconsole.c')
-rw-r--r--console-tools/fgconsole.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/console-tools/fgconsole.c b/console-tools/fgconsole.c
index 54355bee6..019761726 100644
--- a/console-tools/fgconsole.c
+++ b/console-tools/fgconsole.c
@@ -6,6 +6,16 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9//config:config FGCONSOLE
10//config: bool "fgconsole"
11//config: default y
12//config: select PLATFORM_LINUX
13//config: help
14//config: This program prints active (foreground) console number.
15
16//applet:IF_FGCONSOLE(APPLET(fgconsole, BB_DIR_USR_BIN, BB_SUID_DROP))
17
18//kbuild:lib-$(CONFIG_FGCONSOLE) += fgconsole.o
9 19
10//usage:#define fgconsole_trivial_usage 20//usage:#define fgconsole_trivial_usage
11//usage: "" 21//usage: ""