|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /sbin/ |
Upload File : |
#!/bin/sh
PATH=/bin:/usr/bin
if [ -f /etc/sysconfig/i18n ]; then
. /etc/sysconfig/i18n
fi
case "$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