diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-09-27 16:00:05 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-09-27 16:00:05 +0000 |
commit | b926d9e0c5aba4451a83d49b19da8b5d6a74412d (patch) | |
tree | ee8f498b56941851d4d758f18748b9f9641baf9c /rescue | |
parent | 7df8678863f3f660fc1eeba7a4e37cba7a240373 (diff) | |
download | drakx-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.tar drakx-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.tar.gz drakx-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.tar.bz2 drakx-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.tar.xz drakx-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.zip |
don't install usb keyboard drivers more than once
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/drvinst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rescue/drvinst b/rescue/drvinst index 794bc3f85..1e3899f4b 100755 --- a/rescue/drvinst +++ b/rescue/drvinst @@ -38,7 +38,9 @@ sub install_module($$) { my ($driver, $descr) = @_; print "Installing driver $driver (for \"$descr\")\n"; system("/sbin/modprobe", $driver) and print "\tfailed\n"; - if ($driver =~ /usb/) { + my $already_usb if 0; + if (!$already_usb && $driver =~ /usb/) { + $already_usb = 1; print "Installing driver usbkdb\n"; system('/sbin/modprobe', 'usbkbd') and print "\tfailed\n"; print "Installing driver keybdev\n"; @@ -62,6 +64,9 @@ foreach $card (pci_probe()) { #------------------------------------------------- #- $Log$ +#- Revision 1.5 2001/09/27 16:00:05 gc +#- don't install usb keyboard drivers more than once +#- #- Revision 1.4 2001/09/27 15:57:55 gc #- try to fix usb keyboards #- |