aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorRoman Kyrylych <roman@archlinux.org>2008-03-02 16:31:34 +0200
committerRoman Kyrylych <roman@archlinux.org>2008-03-02 16:31:34 +0200
commit56fffa9954db654c1731e07f753c3de105896455 (patch)
treebe2bbf441833743567a53d6e7055558058b54a4a /rc.sysinit
parentf94f52e5ab877ffc3160d0bf20c70be9865d45b2 (diff)
downloadinitscripts-56fffa9954db654c1731e07f753c3de105896455.tar.xz
Always load defkeymap
It seems that there's a bug in the kernel 2.6.24, which makes the built-in defkeymap to produce incorrect composite chars. Thus keymaps that don't have 'include "compose.latin1"' have issues (FS#9593). While it is better to fix this bug in kernel and all affected keymaps loading defkeymaps before other keymaps seems to not hurt anyway. Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index e57d904..b2b916e 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -381,7 +381,7 @@ if echo "$LOCALE" | /bin/grep -qi utf ; then
# the $CONSOLE check helps us avoid this when running scripts from cron
echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\e%%G"; fi' >>/etc/profile.d/locale.sh
stat_done
- status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q -u $KEYMAP
+ status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q -u defkeymap $KEYMAP
else
stat_busy "Setting Consoles to legacy mode"
# make non-UTF-8 consoles work on 2.6.24 and newer kernels
@@ -392,7 +392,7 @@ else
# the $CONSOLE check helps us avoid this when running scripts from cron
echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\e%%@"; fi' >>/etc/profile.d/locale.sh
stat_done
- status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q $KEYMAP
+ status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q defkeymap $KEYMAP
fi
if [ -n "$CONSOLEFONT" ]; then