commit 51eda6967a1b11c96e9c5af9b62da4019020f1a0
Author: Marcin Krol <[email protected]>
Date: Mon Feb 3 13:04:25 2014 +0000
- default to tty1 if tty can't be detected
kbd.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/kbd.init b/kbd.init
index afbd96d..44ac83b 100644
--- a/kbd.init
+++ b/kbd.init
@@ -49,7 +49,7 @@ start() {
# save old tty number
tty=$(/usr/bin/tty)
tty=${tty#$devpath}
- if [ "$tty" = "/dev/console" ]; then
+ if [ "$tty" = "/dev/console" -o "$tty" = "not a tty" ]; then
tty=1
fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kbd.git/commitdiff/441192e49bde57918c8175d99c899cb114726e7a
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit