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 | c855efedb09110b41219d5c9fb61bb8753a1aef5 (patch) | |
tree | 0ae96d219a279ec4b959918dfaa216543de2ecc8 /perl-install/standalone | |
parent | c12736224ec5d7b0a6fd745fa0b0cd657ecf73a1 (diff) | |
download | drakx-c855efedb09110b41219d5c9fb61bb8753a1aef5.tar drakx-c855efedb09110b41219d5c9fb61bb8753a1aef5.tar.gz drakx-c855efedb09110b41219d5c9fb61bb8753a1aef5.tar.bz2 drakx-c855efedb09110b41219d5c9fb61bb8753a1aef5.tar.xz drakx-c855efedb09110b41219d5c9fb61bb8753a1aef5.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')
-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: |