ntpd: default to FEATURE_NTP_AUTH=y
[oweals/busybox.git] / coreutils / tty.c
index 67399cbf3a91c9726e52d758f77b0939fa0fbb0d..18ad7c566240590fc94a32c1b6b4e42bdcc90959 100644 (file)
@@ -6,6 +6,16 @@
  *
  * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
+//config:config TTY
+//config:      bool "tty (3.3 kb)"
+//config:      default y
+//config:      help
+//config:      tty is used to print the name of the current terminal to
+//config:      standard output.
+
+//applet:IF_TTY(APPLET_NOFORK(tty, tty, BB_DIR_USR_BIN, BB_SUID_DROP, tty))
+
+//kbuild:lib-$(CONFIG_TTY) += tty.o
 
 /* BB_AUDIT SUSv4 compliant */
 /* http://www.opengroup.org/onlinepubs/9699919799/utilities/tty.html */
@@ -15,7 +25,6 @@
 //usage:#define tty_full_usage "\n\n"
 //usage:       "Print file name of stdin's terminal"
 //usage:       IF_INCLUDE_SUSv2( "\n"
-//usage:     "\nOptions:"
 //usage:     "\n       -s      Print nothing, only return exit status"
 //usage:       )
 //usage: