aboutsummaryrefslogtreecommitdiffstats
path: root/setsysfont
blob: f19914d74564884c8d1782256f4b767ab7e20a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

if [ -f /etc/sysconfig/i18n ]; then
  . /etc/sysconfig/i18n
fi

if [ -x /usr/bin/setfont ]; then

  if [ -n "$SYSFONT" -a -n "$UNIMAP" ]; then
    /usr/bin/setfont $SYSFONT -u $UNIMAP
  elif [ -n "$SYSFONT" ]; then
    /usr/bin/setfont $SYSFONT
  fi

else
  echo "can't set font"
  exit 1
fi