aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/getty_tty1/cfg
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-06-23 13:55:13 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-06-23 13:55:13 +0200
commite56e091d650494e4894d24e33ab2cdb7b57dc686 (patch)
treea2a139ee4f2c2975b98787414e84cdb2bc062c78 /examples/var_service/getty_tty1/cfg
parent34254f9ddece34d4df541438ec4f6a1b19929926 (diff)
downloadbusybox-e56e091d650494e4894d24e33ab2cdb7b57dc686.tar.gz
examples: update /var/service/getty for Unicode ttys
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples/var_service/getty_tty1/cfg')
-rwxr-xr-xexamples/var_service/getty_tty1/cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/var_service/getty_tty1/cfg b/examples/var_service/getty_tty1/cfg
index 0f63e5233..ab973f738 100755
--- a/examples/var_service/getty_tty1/cfg
+++ b/examples/var_service/getty_tty1/cfg
@@ -10,7 +10,7 @@ ttyname=`tty`
ttybase="${ttyname%%[0123456789]*}" # strip numeric tail
if test x"$ttybase" = x"/dev/vc/" -o x"$ttybase" = x"/dev/tty"; then
- echo "* Activating Cyrillic KOI8-R -> CP866 font map"
+ echo "* Activating font map"
echo -ne "\033(K" >"$ttyname"
echo "* Loading screen font"
@@ -18,9 +18,9 @@ if test x"$ttybase" = x"/dev/vc/" -o x"$ttybase" = x"/dev/tty"; then
-C "$ttyname" \
-m "$PWD/koi8r_to_uni.trans" \
"$PWD/alt08x16+unimap.fnt" \
- || echo "! setfont failure"
+ || echo "setfont exit code: $?"
echo "* Loading keymap"
- loadkeys "$PWD/ru_koi8r.keymap" \
- || echo "! loadkeys failure"
+ loadkeys "$PWD/unicode_cyrillic.keymap" \
+ || echo "loadkeys exit code: $?"
fi