diff options
author | Denys Vlasenko | 2018-06-23 13:55:13 +0200 |
---|---|---|
committer | Denys Vlasenko | 2018-06-23 13:55:13 +0200 |
commit | e56e091d650494e4894d24e33ab2cdb7b57dc686 (patch) | |
tree | a2a139ee4f2c2975b98787414e84cdb2bc062c78 /examples/var_service/getty_tty1/cfg | |
parent | 34254f9ddece34d4df541438ec4f6a1b19929926 (diff) | |
download | busybox-e56e091d650494e4894d24e33ab2cdb7b57dc686.zip busybox-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-x | examples/var_service/getty_tty1/cfg | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ 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 |