aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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