diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-26 10:21:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-26 10:21:02 +0000 |
commit | 7902e0f21b4149800eb36da017e431fc7fcac0b4 (patch) | |
tree | 500d85dd3c3365ce2892119c5f19e48cf06685da | |
parent | 8dd4e92d8dcd424fd5d9ab715c84e29e269984c5 (diff) | |
download | drakx-7902e0f21b4149800eb36da017e431fc7fcac0b4.tar drakx-7902e0f21b4149800eb36da017e431fc7fcac0b4.tar.gz drakx-7902e0f21b4149800eb36da017e431fc7fcac0b4.tar.bz2 drakx-7902e0f21b4149800eb36da017e431fc7fcac0b4.tar.xz drakx-7902e0f21b4149800eb36da017e431fc7fcac0b4.zip |
don't use ioctl KDSKBENT with kernel 2.6, until fixed...
-rw-r--r-- | perl-install/keyboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm index 121d1cf8e..d616e3403 100644 --- a/perl-install/keyboard.pm +++ b/perl-install/keyboard.pm @@ -384,7 +384,7 @@ sub from_usb() { sub load { my ($keymap) = @_; - return if $::testing; + return if $::testing || c::kernel_version() =~ /^\Q2.6/; my ($magic, @keymaps) = unpack "I i" . c::MAX_NR_KEYMAPS() . "a*", $keymap; $keymap = pop @keymaps; |