]> git.pld-linux.org Git - projects/rc-scripts.git/blob - setsysfont
Synced with 0.0.4
[projects/rc-scripts.git] / setsysfont
1 #!/bin/sh
2
3 if [ -f /etc/sysconfig/i18n ]; then
4   . /etc/sysconfig/i18n
5 fi
6
7 if [ -x /usr/bin/consolechars ]; then
8   if [ -n "$SYSFONT" ]; then
9   /usr/bin/consolechars -f $SYSFONT
10   fi
11 elif [ -x /usr/bin/setfont ]; then
12   if [ -n "$SYSFONT" ]; then
13     /usr/bin/setfont $SYSFONT
14   fi
15 else
16   echo "can't set font"
17   exit 1
18 fi
This page took 0.102451 seconds and 4 git commands to generate.