summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 2117c580c..5222e72dc 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -243,11 +243,6 @@ sub text2driver($) {
sub load($;$@) {
my ($name, $type, @options) = @_;
- $conf{'scsi_hostadapter' . ($scsi++ || '')}{alias} = $name
- if $type eq 'scsi';
-
- $conf{$name}{options} = join " ", @options if @options;
-
if ($::testing) {
log::l("i try to install $name module");
} else {
@@ -258,6 +253,11 @@ sub load($;$@) {
load($_, 'prereq') foreach @{$deps{$name}};
load_raw($name, @options);
}
+
+ $conf{'scsi_hostadapter' . ($scsi++ || '')}{alias} = $name
+ if $type eq 'scsi';
+
+ $conf{$name}{options} = join " ", @options if @options;
}
sub unload($) {