diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-02-27 23:08:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-02-27 23:08:44 +0000 |
commit | a4b844e4c4ef101c4a79e4831a36f0ff51bd1f32 (patch) | |
tree | 9c9debe426c01444b7bd0975d1e3923d0a2c641f /perl-install/modules.pm | |
parent | 1c0127d9f80cb91dc16a212f7380f3a45381c0df (diff) | |
download | drakx-backup-do-not-use-a4b844e4c4ef101c4a79e4831a36f0ff51bd1f32.tar drakx-backup-do-not-use-a4b844e4c4ef101c4a79e4831a36f0ff51bd1f32.tar.gz drakx-backup-do-not-use-a4b844e4c4ef101c4a79e4831a36f0ff51bd1f32.tar.bz2 drakx-backup-do-not-use-a4b844e4c4ef101c4a79e4831a36f0ff51bd1f32.tar.xz drakx-backup-do-not-use-a4b844e4c4ef101c4a79e4831a36f0ff51bd1f32.zip |
no_comment
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index e72ee9093..c82cee6a1 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -1,6 +1,6 @@ package modules; -use vars qw(%loaded %drivers); +use vars qw(%loaded %drivers $scsi); use common qw(:common :file :system); use detect_devices; @@ -10,7 +10,7 @@ use log; my %conf; my %loaded; #- array of loaded modules for each types (scsi/net/...) -my $scsi = 0; +$scsi = 0; my %deps = (); my @drivers_by_category = ( @@ -460,7 +460,7 @@ sub write_conf { add_alias('scsi_hostadapter', 'ide-scsi') if detect_devices::getIDEBurners(); - if (my @scsis = grep { $conf{$_}{alias} && /scsi_hostadapter/ } keys %conf) { + if (my @scsis = sort grep { $conf{$_}{alias} && /scsi_hostadapter/ } keys %conf) { log::l("has scsis ", join " ; ", map { "modprobe $_" } @scsis); $conf{supermount}{"post-install"} = join " ; ", map { "modprobe $_" } @scsis; } |