examples: update /var/service/getty for Unicode ttys
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/examples/var_service/getty_tty1/cfg b/examples/var_service/getty_tty1/cfg
index 0f63e52..ab973f7 100755
--- a/examples/var_service/getty_tty1/cfg
+++ b/examples/var_service/getty_tty1/cfg
@@ -10,7 +10,7 @@
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 @@
-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