diff options
author | Olivier Blin <blino@mageia.org> | 2013-05-07 01:45:51 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2013-05-07 01:45:51 +0000 |
commit | e54e0b99ed4d1eb8a617eb19f54622fa6cf4f7b7 (patch) | |
tree | 0ae96d219a279ec4b959918dfaa216543de2ecc8 /perl-install/standalone/service_harddrake | |
parent | 2da6683219698f9ef15c5ccca5c6a6807669b235 (diff) | |
download | drakx-backup-do-not-use-e54e0b99ed4d1eb8a617eb19f54622fa6cf4f7b7.tar drakx-backup-do-not-use-e54e0b99ed4d1eb8a617eb19f54622fa6cf4f7b7.tar.gz drakx-backup-do-not-use-e54e0b99ed4d1eb8a617eb19f54622fa6cf4f7b7.tar.bz2 drakx-backup-do-not-use-e54e0b99ed4d1eb8a617eb19f54622fa6cf4f7b7.tar.xz drakx-backup-do-not-use-e54e0b99ed4d1eb8a617eb19f54622fa6cf4f7b7.zip |
harddrake service: install ethernet/wireless packages when a new
device is detected, this shoud help for Broadcom devices
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-x | perl-install/standalone/service_harddrake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index fd86fb4f2..c661468f3 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -320,7 +320,9 @@ foreach my $hw_class (@harddrake::data::tree) { harddrake::sound::configure_sound_slots($modules_conf); next; } elsif ($Ident eq "ETHERNET") { - harddrake::autoconf::network_conf($modules_conf); + require interactive; + $in ||= interactive->vnew; + harddrake::autoconf::network_conf($modules_conf, $in, [ @ID{@added} ]); next; } elsif (member($Ident, qw(ATA_STORAGE CARD_READER RAID_STORAGE SATA_STORAGE SCSI_CONTROLLER))) { # set scsi_hostadapter in modprobe.conf: |