summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-04-10 10:48:45 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-04-10 10:48:45 +0000
commitf603592fb65141aa769dbd076ecc102e772e6575 (patch)
treee8005475f72531b41046a5739b24a5487b0f0caf /lib/Xconfig/card.pm
parentcadf994f7056fc5d828c78c1274c70d78742123c (diff)
downloaddrakx-kbd-mouse-x11-f603592fb65141aa769dbd076ecc102e772e6575.tar
drakx-kbd-mouse-x11-f603592fb65141aa769dbd076ecc102e772e6575.tar.gz
drakx-kbd-mouse-x11-f603592fb65141aa769dbd076ecc102e772e6575.tar.bz2
drakx-kbd-mouse-x11-f603592fb65141aa769dbd076ecc102e772e6575.tar.xz
drakx-kbd-mouse-x11-f603592fb65141aa769dbd076ecc102e772e6575.zip
Fix selecting proprietary drivers with xdriver=DRIVER boot option.
Diffstat (limited to 'lib/Xconfig/card.pm')
-rw-r--r--lib/Xconfig/card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index 08b5dfa..4575414 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -230,7 +230,7 @@ sub configure_auto_install {
VendorName => "Custom",
BoardName => "Set by boot parameter",
};
- if ($force_driver =~ /^(nvidia.|fglrx)/) {
+ if ($boot_xdriver =~ /^(nvidia.|fglrx)/) {
$card->{Driver} = "vesa";
$card->{Driver2} = $boot_xdriver;
}