[Lunar-commits] r23541 - moonbase/trunk/utils/sysvinit/init.d
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Thu Mar 8 01:33:37 CET 2007
Author: zbiggy
Date: 2007-03-08 01:33:37 +0100 (Thu, 08 Mar 2007)
New Revision: 23541
Modified:
moonbase/trunk/utils/sysvinit/init.d/bootmisc
Log:
International characters on all consoles now possible (using kbd module),
bashrc and profile untouched to make sofar happy 0:-)
tested with vesafb and nvidia blob
survives exit/logout/login
Modified: moonbase/trunk/utils/sysvinit/init.d/bootmisc
===================================================================
--- moonbase/trunk/utils/sysvinit/init.d/bootmisc 2007-03-07 23:19:58 UTC (rev 23540)
+++ moonbase/trunk/utils/sysvinit/init.d/bootmisc 2007-03-08 00:33:37 UTC (rev 23541)
@@ -16,6 +16,14 @@
touch /var/run/utmp /var/run/wtmp
[ ! -f /etc/LOCALE ] || . /etc/LOCALE
[ ! -f /etc/keymap ] || loadkeys -q $(cat /etc/keymap)
- [ ! -f /etc/consolefont ] || $CONSOLETOOL $(cat /etc/consolefont)
+ if [ -f /etc/charmap ] && [ -x /usr/bin/setfont ]; then
+ [ ! -f /etc/consolefont ] || /usr/bin/setfont $(cat /etc/consolefont) -m $(cat /etc/charmap)
+ /usr/bin/mapscrn $(cat /etc/charmap)
+ for tty in /dev/tty[1-6]; do
+ echo -n -e "\033(K" > $tty
+ done
+ else
+ [ ! -f /etc/consolefont ] || $CONSOLETOOL $(cat /etc/consolefont)
+ fi
;;
esac
More information about the Lunar-commits
mailing list