]> git.pld-linux.org Git - projects/rc-scripts.git/blob - setsysfont
- dodana obsługa statycznej tablicy ARP
[projects/rc-scripts.git] / setsysfont
1 #!/bin/sh
2 #
3 #       $Id: setsysfont,v 1.4 1999/07/31 11:24:17 misiek Exp $
4 #
5
6 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
7 [ -f /etc/sysconfig/console ] && . /etc/sysconfig/console
8
9 if [ -x /usr/bin/consolechars -o -x /bin/consolechars ]; then
10   if [ -n "$SYSFONT" ]; then
11         consolechars -f $SYSFONT
12   elif [ -n "$CONSOLEFONT" ]; then
13         consolechars -f $CONSOLEFONT
14   fi
15   if [ "$CONSOLEMAP" != "" ]; then
16         consolechars -m $CONSOLEMAP
17   fi
18   if [ "$KEYTABLE" != "" ]; then
19         loadkeys $KEYTABLE
20   fi
21
22
23 elif [ -x /usr/bin/setfont ]; then
24   if [ -n "$SYSFONT" ]; then
25     /usr/bin/setfont $SYSFONT
26   fi
27 else
28   echo "can't set font"
29   exit 1
30 fi
This page took 0.057081 seconds and 4 git commands to generate.