getty config help: fix example script
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
b44e9760e1
commit
95897f9fd2
@ -189,8 +189,8 @@ config GETTY
|
|||||||
this script approximates getty:
|
this script approximates getty:
|
||||||
|
|
||||||
exec </dev/$1 >/dev/$1 2>&1 || exit 1
|
exec </dev/$1 >/dev/$1 2>&1 || exit 1
|
||||||
stty sane; stty ispeed 38400; stty ospeed 38400
|
|
||||||
reset
|
reset
|
||||||
|
stty sane; stty ispeed 38400; stty ospeed 38400
|
||||||
printf "%s login: " "`hostname`"
|
printf "%s login: " "`hostname`"
|
||||||
read -r login
|
read -r login
|
||||||
exec /bin/login "$login"
|
exec /bin/login "$login"
|
||||||
|
Loading…
Reference in New Issue
Block a user