summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/drvinst7
1 files changed, 1 insertions, 6 deletions
diff --git a/rescue/drvinst b/rescue/drvinst
index 8395bfce4..4868b42e0 100755
--- a/rescue/drvinst
+++ b/rescue/drvinst
@@ -19,17 +19,12 @@ use detect_devices;
$ARGV[0] =~ /^--?h/ and die "usage: drivers_install [drivertype1 [drivertype2 ...]]\n";
my @types = @ARGV;
-sub install_module_raw {
+sub install_module {
my ($driver, $descr) = @_;
print STDERR qq(Installing driver $driver (for "$descr")\n);
system("/sbin/modprobe", $driver) and print "\tfailed\n";
}
-sub install_module {
- my ($driver, $descr) = @_;
- install_module_raw($driver, $descr);
-}
-
#- start
foreach my $card (detect_devices::pci_probe()) {
# ignoring "unknown", "Card:foobar" and the like as well as video cards: