summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-09-27 16:00:05 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-09-27 16:00:05 +0000
commitb926d9e0c5aba4451a83d49b19da8b5d6a74412d (patch)
treeee8f498b56941851d4d758f18748b9f9641baf9c /rescue
parent7df8678863f3f660fc1eeba7a4e37cba7a240373 (diff)
downloaddrakx-backup-do-not-use-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.tar
drakx-backup-do-not-use-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.tar.gz
drakx-backup-do-not-use-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.tar.bz2
drakx-backup-do-not-use-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.tar.xz
drakx-backup-do-not-use-b926d9e0c5aba4451a83d49b19da8b5d6a74412d.zip
don't install usb keyboard drivers more than once
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/drvinst7
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
#-