summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
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;
}