summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko2011-02-10 10:38:13 +0100
committerDenys Vlasenko2011-02-10 10:38:13 +0100
commit95897f9fd2f7122c7d26d93997e1164c0da41c0a (patch)
tree4e88d7b14aa4751f31c474c0c4a5f37e4d2ea924 /loginutils
parentb44e9760e101b0eddf49de2ecd5f8fcbf2f289a4 (diff)
downloadbusybox-95897f9fd2f7122c7d26d93997e1164c0da41c0a.zip
busybox-95897f9fd2f7122c7d26d93997e1164c0da41c0a.tar.gz
getty config help: fix example script
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/Config.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/Config.src b/loginutils/Config.src
index 897d8fb..0d7f50c 100644
--- a/loginutils/Config.src
+++ b/loginutils/Config.src
@@ -189,8 +189,8 @@ config GETTY
this script approximates getty:
exec </dev/$1 >/dev/$1 2>&1 || exit 1
- stty sane; stty ispeed 38400; stty ospeed 38400
reset
+ stty sane; stty ispeed 38400; stty ospeed 38400
printf "%s login: " "`hostname`"
read -r login
exec /bin/login "$login"