diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-12-13 15:43:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-12-13 15:43:45 +0000 |
commit | f298cec9f7d4bb4dc1972cc737007b6da86d4cb0 (patch) | |
tree | a52d7587f52b6c153bb4e7dd29fc63ae61a8a934 /perl-install/standalone | |
parent | 292bdfb0285b757882b4e933c413d834b4324d4b (diff) | |
download | drakx-f298cec9f7d4bb4dc1972cc737007b6da86d4cb0.tar drakx-f298cec9f7d4bb4dc1972cc737007b6da86d4cb0.tar.gz drakx-f298cec9f7d4bb4dc1972cc737007b6da86d4cb0.tar.bz2 drakx-f298cec9f7d4bb4dc1972cc737007b6da86d4cb0.tar.xz drakx-f298cec9f7d4bb4dc1972cc737007b6da86d4cb0.zip |
- rename/move install_any::write_pcmcia() as harddrake::autoconf::pcmcia() so
that it became availlable for standalone tools
- reuse it in harddrake service in order to configure PCMCIA cards
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 070b6dc29..f897ec230 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -139,10 +139,12 @@ foreach my $hw_class (@harddrake::data::tree) { network::ethernet::configure_eth_aliases($modules_conf); $modules_conf->write; next; - } elsif (member($Ident, qw(AGP ATA_STORAGE PCMCIA_CONTROLLER SATA_STORAGE SCSI_CONTROLLER TV))) { + } elsif (member($Ident, qw(AGP ATA_STORAGE SATA_STORAGE SCSI_CONTROLLER TV))) { # add agpgart and the like modules to modprobe.preload if needed: $modules_conf->write; next; + } elsif ($Ident eq "PCMCIA_CONTROLLER") { + harddrake::autoconf::pcmcia($added[0]->{driver}); } elsif ($Ident eq "USB_CONTROLLER") { modules::load_category($modules_conf, 'bus/usb'); $modules_conf->write; |