rc-scripts/trunk: rc.d/rc.sysinit setsysfont
arekm
cvs at pld-linux.org
Thu Jan 5 23:53:00 CET 2006
Author: arekm
Date: Thu Jan 5 23:52:54 2006
New Revision: 6747
Modified:
rc-scripts/trunk/rc.d/rc.sysinit
rc-scripts/trunk/setsysfont
Log:
Fix console detection by not running setsysfont trough run_cmd (fixes utf8 font handling, too).
Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit Thu Jan 5 23:52:54 2006
@@ -119,7 +119,7 @@
if [ "$CONSOLETYPE" = "vt" -a -x /sbin/setsysfont ]; then
- run_cmd "Setting default font" /sbin/setsysfont
+ /sbin/setsysfont
fi
# Print welcome message
Modified: rc-scripts/trunk/setsysfont
==============================================================================
--- rc-scripts/trunk/setsysfont (original)
+++ rc-scripts/trunk/setsysfont Thu Jan 5 23:52:54 2006
@@ -8,8 +8,6 @@
[ -n "$SYSFONT" ] && CONSOLEFONT="$SYSFONT"
-. /etc/rc.d/init.d/functions
-
case "$LANG" in
*.utf8|*.UTF-8)
if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
More information about the pld-cvs-commit
mailing list