aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 8c157d9..f4729bf 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -348,6 +348,9 @@ stat_done
if echo "$LOCALE" | /bin/grep -qi utf ; then
stat_busy "Setting Consoles to UTF-8"
/usr/bin/kbd_mode -u
+ for i in $(seq 1 63); do
+ echo -ne "\e%G" > /dev/vc/${i}
+ done
# the $CONSOLE check helps us avoid this when running scripts from cron
echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then echo -ne "\e%G"; fi' >>/etc/profile.d/locale.sh
stat_done
@@ -373,6 +376,9 @@ if [ -n "$CONSOLEFONT" ]; then
/usr/bin/setfont $CONSOLEFONT -C /dev/vc/${i}
fi
done
+ for i in $(seq 1 63); do
+ echo -ne "\e(K" > /dev/vc/${i}
+ done
# the $CONSOLE check helps us avoid this when running scripts from cron
echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then echo -ne "\e(K"; fi' >>/etc/profile.d/locale.sh
stat_done