summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-10 15:55:12 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-10 15:55:12 +0000
commit2fb12b9bc814ef721941a68856221039dbcf3df8 (patch)
tree21f390cb060fc4c25f675042b8eb2c2037174299 /perl-install/modules.pm
parent6cb5dd30efab27e03a47cc0261d087b6e8eedcf5 (diff)
downloaddrakx-2fb12b9bc814ef721941a68856221039dbcf3df8.tar
drakx-2fb12b9bc814ef721941a68856221039dbcf3df8.tar.gz
drakx-2fb12b9bc814ef721941a68856221039dbcf3df8.tar.bz2
drakx-2fb12b9bc814ef721941a68856221039dbcf3df8.tar.xz
drakx-2fb12b9bc814ef721941a68856221039dbcf3df8.zip
moved modules::get_pcmcia_devices into detect_devices::pcmcia_probe.
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm14
1 files changed, 0 insertions, 14 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 26286ddfe..8850147e2 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -818,20 +818,6 @@ sub configure_pcmcia {
read_already_loaded();
}
-sub get_pcmcia_devices {
- my (@devs, $desc);
-
- foreach (cat_("/var/run/stab")) {
- if (/^Socket\s+\d+:\s+(.*)/) {
- $desc = $1;
- } else {
- my (undef, $type, $module, undef, $device) = split;
- push @devs, { description => $desc, driver => $module, type => $type, device => $device };
- }
- }
- @devs;
-}
-
sub write_pcmcia {
my ($prefix, $pcmcia) = @_;