aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/config/loginutils/Config.in
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2011-10-21 23:08:45 +0000
committerNicolas Thill <nico@openwrt.org>2011-10-21 23:08:45 +0000
commit3af110207d9034668fe9b714eb2074d280a57cce (patch)
treeaeaf726e05602de4a3b53c1a471a8d14de9f5453 /package/busybox/config/loginutils/Config.in
parenta2797eb1a808a7999c0a33f160be5a5648af4a2a (diff)
downloadupstream-3af110207d9034668fe9b714eb2074d280a57cce.tar.gz
upstream-3af110207d9034668fe9b714eb2074d280a57cce.tar.bz2
upstream-3af110207d9034668fe9b714eb2074d280a57cce.zip
[package] busybox: update to 1.19.2 (thanks to Peter Wagner)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28513 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/config/loginutils/Config.in')
-rw-r--r--package/busybox/config/loginutils/Config.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/package/busybox/config/loginutils/Config.in b/package/busybox/config/loginutils/Config.in
index 0298840620..c6e50bdd40 100644
--- a/package/busybox/config/loginutils/Config.in
+++ b/package/busybox/config/loginutils/Config.in
@@ -1,3 +1,4 @@
+# DO NOT EDIT. This file is generated from Config.src
#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
@@ -191,7 +192,19 @@ config BUSYBOX_CONFIG_GETTY
default n
select BUSYBOX_CONFIG_FEATURE_SYSLOG
help
- getty lets you log in on a tty, it is normally invoked by init.
+ getty lets you log in on a tty. It is normally invoked by init.
+
+ Note that you can save a few bytes by disabling it and
+ using login applet directly.
+ If you need to reset tty attributes before calling login,
+ this script approximates getty:
+
+ exec </dev/$1 >/dev/$1 2>&1 || exit 1
+ reset
+ stty sane; stty ispeed 38400; stty ospeed 38400
+ printf "%s login: " "`hostname`"
+ read -r login
+ exec /bin/login "$login"
config BUSYBOX_CONFIG_LOGIN
bool "login"