From 9f7dd370f0b2b3a3523ff425b4273ea2db5270da Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 23 May 2012 18:26:06 +0000 Subject: explain --- rescue/drvinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rescue/drvinst b/rescue/drvinst index ca9b807cd..158566d0d 100755 --- a/rescue/drvinst +++ b/rescue/drvinst @@ -38,9 +38,11 @@ sub install_module { #- start foreach my $card (detect_devices::pci_probe()) { + # ignoring "unknown", "Card:foobar" and the like as well as video cards: $card->{driver} eq 'unknown' || $card->{driver} =~ /:/ and next; $card->{media_type} eq "DISPLAY_VGA" and next; + # load drivers for selected categories or for everything if no args: if (!@ARGV || find { $card->{media_type} =~ /$_/i } @types) { install_module($card->{driver}, $card->{description}); } -- cgit v1.2.1