summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-26 10:21:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-26 10:21:02 +0000
commit7902e0f21b4149800eb36da017e431fc7fcac0b4 (patch)
tree500d85dd3c3365ce2892119c5f19e48cf06685da /perl-install/keyboard.pm
parent8dd4e92d8dcd424fd5d9ab715c84e29e269984c5 (diff)
downloaddrakx-backup-do-not-use-7902e0f21b4149800eb36da017e431fc7fcac0b4.tar
drakx-backup-do-not-use-7902e0f21b4149800eb36da017e431fc7fcac0b4.tar.gz
drakx-backup-do-not-use-7902e0f21b4149800eb36da017e431fc7fcac0b4.tar.bz2
drakx-backup-do-not-use-7902e0f21b4149800eb36da017e431fc7fcac0b4.tar.xz
drakx-backup-do-not-use-7902e0f21b4149800eb36da017e431fc7fcac0b4.zip
don't use ioctl KDSKBENT with kernel 2.6, until fixed...
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm2
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;