diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:06 +0000 |
commit | 2d5b25ca4565233bd1f88985aa38ba70978231a3 (patch) | |
tree | 776a29572ecf30d6810ecf259d109777cdc5318a /rescue | |
parent | 83916bfda630a4c5797d44f61cfac8304ed279e5 (diff) | |
download | drakx-backup-do-not-use-2d5b25ca4565233bd1f88985aa38ba70978231a3.tar drakx-backup-do-not-use-2d5b25ca4565233bd1f88985aa38ba70978231a3.tar.gz drakx-backup-do-not-use-2d5b25ca4565233bd1f88985aa38ba70978231a3.tar.bz2 drakx-backup-do-not-use-2d5b25ca4565233bd1f88985aa38ba70978231a3.tar.xz drakx-backup-do-not-use-2d5b25ca4565233bd1f88985aa38ba70978231a3.zip |
explain
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/drvinst | 2 |
1 files changed, 2 insertions, 0 deletions
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}); } |