diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:16 +0000 |
commit | 18adca6404de11712417fc60a8c897a76f2019e4 (patch) | |
tree | 987d90f242f522436a56e9911ad711b3a7a86c01 /rescue | |
parent | 4ed7ef9cbe8d085ff3dc0510d031f2ee5215de04 (diff) | |
download | drakx-backup-do-not-use-18adca6404de11712417fc60a8c897a76f2019e4.tar drakx-backup-do-not-use-18adca6404de11712417fc60a8c897a76f2019e4.tar.gz drakx-backup-do-not-use-18adca6404de11712417fc60a8c897a76f2019e4.tar.bz2 drakx-backup-do-not-use-18adca6404de11712417fc60a8c897a76f2019e4.tar.xz drakx-backup-do-not-use-18adca6404de11712417fc60a8c897a76f2019e4.zip |
(install_module) merge install_module_raw() in it
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/drvinst | 7 |
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: |