diff options
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -375,7 +375,7 @@ if echo "$LOCALE" | /bin/grep -qi utf ; then # this code is needed not only for older kernels, # but also when user has set vt.default_utf8=0 but LOCALE is *.UTF-8. /usr/bin/kbd_mode -u - for i in $(seq 1 63); do + for i in $(seq 0 63); do printf "\e%%G" > /dev/vc/${i} done # the $CONSOLE check helps us avoid this when running scripts from cron @@ -386,7 +386,7 @@ else stat_busy "Setting Consoles to legacy mode" # make non-UTF-8 consoles work on 2.6.24 and newer kernels /usr/bin/kbd_mode -a - for i in $(seq 1 63); do + for i in $(seq 0 63); do printf "\e%%@" > /dev/vc/${i} done # the $CONSOLE check helps us avoid this when running scripts from cron @@ -401,7 +401,7 @@ if [ -n "$CONSOLEFONT" ]; then if [ -n "$CONSOLEMAP" ] && echo "$LOCALE" | /bin/grep -qi utf ; then CONSOLEMAP="" fi - for i in $(seq 1 63); do + for i in $(seq 0 63); do if [ -n "$CONSOLEMAP" ]; then /usr/bin/setfont -m $CONSOLEMAP $CONSOLEFONT -C /dev/vc/${i} >/dev/null 2>&1 else @@ -411,7 +411,7 @@ if [ -n "$CONSOLEFONT" ]; then if [ $? -ne 0 ]; then stat_fail else - for i in $(seq 1 63); do + for i in $(seq 0 63); do printf "\e(K" > /dev/vc/${i} done # the $CONSOLE check helps us avoid this when running scripts from cron |