source: MondoRescue/branches/2.2.9/mindi-busybox/examples/var_service/getty_tty1/cfg@ 2725

Last change on this file since 2725 was 2725, checked in by Bruno Cornec, 13 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
3if test x"$TERM" = x"" -o x"$TERM" = x"unknown"; then
4 TERM="linux"
5 echo "* Setting TERM='$TERM'"
6fi
7export TERM
8
9ttyname=`tty`
10ttybase="${ttyname%%[0123456789]*}" # strip numeric tail
11
12if 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"
26fi
Note: See TracBrowser for help on using the repository browser.