summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-21 18:15:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-21 18:15:37 +0000
commite2df2b17c50af038bbfe15f5b6dd9a21c532ae5b (patch)
tree61b2e028ffcbbb85172104a24693a20cab0d30ba /perl-install/modules.pm
parent12eb8608ad517afff8c323e276f2f4f4e5405896 (diff)
downloaddrakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.tar
drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.tar.gz
drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.tar.bz2
drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.tar.xz
drakx-backup-do-not-use-e2df2b17c50af038bbfe15f5b6dd9a21c532ae5b.zip
no_comment
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 77091048d..cdee937ee 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -399,8 +399,8 @@ sub load_multi {
load_raw(map { [ $_ ] } @l);
}
-sub unload($;$) {
- my ($m, $remove_alias) = @_;
+sub unload {
+ my ($m) = @_;
if ($::testing) {
log::l("rmmod $m");
} else {
@@ -408,7 +408,6 @@ sub unload($;$) {
delete $conf{$m}{loaded};
}
}
- remove_alias($m) if $remove_alias;
}
sub load_raw {
@@ -434,6 +433,7 @@ sub load_raw {
/^irq=(\d+)/ and eval { output "/proc/parport/0/irq", $1 };
}
} elsif ($_->[0] =~ /usb-[uo]hci/) {
+ add_alias('usb-interface', $_->[0]);
#- ensure keyboard is working, the kernel must do the job the BIOS was doing
load_multi("usbkbd", "keybdev");
}