aboutsummaryrefslogtreecommitdiffstats
path: root/setsysfont
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-12-07 15:11:14 -0500
committerBill Nottingham <notting@redhat.com>2012-12-07 15:11:14 -0500
commite2e88d172c4f5688c9f96c70ba31e69effd1248d (patch)
treeecd4fdb8cb9bb81e0f72aadba758d0d671a2f9d5 /setsysfont
parent7d6db66be21f22ad45c2ed961adb8eb10a7ea35e (diff)
downloadinitscripts-e2e88d172c4f5688c9f96c70ba31e69effd1248d.tar
initscripts-e2e88d172c4f5688c9f96c70ba31e69effd1248d.tar.gz
initscripts-e2e88d172c4f5688c9f96c70ba31e69effd1248d.tar.bz2
initscripts-e2e88d172c4f5688c9f96c70ba31e69effd1248d.tar.xz
initscripts-e2e88d172c4f5688c9f96c70ba31e69effd1248d.zip
Update documentation for config file migration for i18n/l10n and hostname settings. (#881923)
Also, remove obsolete setsysfont.
Diffstat (limited to 'setsysfont')
-rwxr-xr-xsetsysfont41
1 files changed, 0 insertions, 41 deletions
diff --git a/setsysfont b/setsysfont
deleted file mode 100755
index 8ee9920b..00000000
--- a/setsysfont
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-PATH=/bin:/usr/bin
-
-if [ -f /etc/sysconfig/i18n ]; then
- . /etc/sysconfig/i18n
-fi
-
-case ${LC_ALL:-${LC_CTYPE-$LANG}} in
- *.utf8|*.UTF-8)
- if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
- exec unicode_start $SYSFONT $UNIMAP
- fi
- ;;
- *)
- if /sbin/consoletype fg ; then
- # no exec, unicode_stop does not set a font
- unicode_stop
- fi
- ;;
-esac
-
-if [ -x /bin/setfont ]; then
- if [ -n "$UNIMAP" ]; then
- ARGS="-u $UNIMAP"
- fi
- if [ -n "$SYSFONTACM" ]; then
- if [ ! -f /lib/kbd/consoletrans/${SYSFONTACM}_to_uni.trans ]; then
- SYSFONTACM=$(echo $SYSFONTACM | sed "s|iso0|8859-|g;s|iso|8859-|g")
- fi
- ARGS="$ARGS -m $SYSFONTACM"
- fi
- if [ -n "$SYSFONT" ]; then
- /bin/setfont $SYSFONT $ARGS
-# else
-# /bin/setfont
- echo -ne "\033(K" 2>/dev/null > /proc/$$/fd/0
- fi
-fi
-
-exit 0