aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-09-29 07:22:25 +0000
committerJudd Vinet <judd@archlinux.org>2005-09-29 07:22:25 +0000
commit39f5db6e89fd04da3979c11c3b2761ea031cd94d (patch)
tree61a61cd9fe2ab5726a3e7b2d586ff9a8f1274588 /rc.sysinit
parente772aeae76f2ad704a834dc17df02dbc137a6573 (diff)
downloadinitscripts-39f5db6e89fd04da3979c11c3b2761ea031cd94d.tar.xz
added tpowa's fix for locale stuff
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 29b928d..3e8fd12 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -153,13 +153,13 @@ if [ "$LOCALE" != "" ]; then
echo "export LANG=$LOCALE" >/etc/profile.d/locale.sh
/bin/chmod 755 /etc/profile.d/locale.sh
- # If locale is *.utf set console to Unicode mode
+# If locale is *.utf set console to Unicode mode
if [ `echo $LOCALE | /bin/grep -i utf` != "" ]; then
/usr/bin/kbd_mode -u
/usr/bin/dumpkeys | /bin/loadkeys --unicode
- for i in `seq 1 12`; do
- echo -ne "\033%G" > /dev/vc/${i};
- done
+ echo 'for i in `seq 1 12`; do' >>/etc/profile.d/locale.sh
+ echo ' echo -ne "\033%G"' >>/etc/profile.d/locale.sh
+ echo 'done' >>/etc/profile.d/locale.sh
if [ "$CONSOLEFONT" = "" ]; then
CONSOLEFONT="LatArCyrHeb-16"
fi