Last change
on this file since 3274 was 2725, checked in by Bruno Cornec, 14 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:executable
set to
*
|
File size:
604 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | if test x"$TERM" = x"" -o x"$TERM" = x"unknown"; then
|
---|
4 | TERM="linux"
|
---|
5 | echo "* Setting TERM='$TERM'"
|
---|
6 | fi
|
---|
7 | export TERM
|
---|
8 |
|
---|
9 | ttyname=`tty`
|
---|
10 | ttybase="${ttyname%%[0123456789]*}" # strip numeric tail
|
---|
11 |
|
---|
12 | if test x"$ttybase" = x"/dev/vc/" -o x"$ttybase" = x"/dev/tty"; then
|
---|
13 | echo "* Activating Cyrillic KOI8-R -> CP866 font map"
|
---|
14 | echo -ne "\033(K" >"$ttyname"
|
---|
15 |
|
---|
16 | echo "* Loading screen font"
|
---|
17 | setfont \
|
---|
18 | -C "$ttyname" \
|
---|
19 | -m "$PWD/koi8r_to_uni.trans" \
|
---|
20 | "$PWD/alt08x16+unimap.fnt" \
|
---|
21 | || echo "! setfont failure"
|
---|
22 |
|
---|
23 | echo "* Loading keymap"
|
---|
24 | loadkeys "$PWD/ru_koi8r.keymap" \
|
---|
25 | || echo "! loadkeys failure"
|
---|
26 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.