summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-03-20 14:26:11 +0000
committerStew Benedict <stewb@mandriva.org>2001-03-20 14:26:11 +0000
commitaac7032ff4116a154d224ecd5457d8a043f4106c (patch)
treee9e9c7d1caaa9187892ccf0931ff928c6f073733 /perl-install/detect_devices.pm
parentae03c25f61467f2eaedc62a23a925237ff8a7e29 (diff)
downloaddrakx-aac7032ff4116a154d224ecd5457d8a043f4106c.tar
drakx-aac7032ff4116a154d224ecd5457d8a043f4106c.tar.gz
drakx-aac7032ff4116a154d224ecd5457d8a043f4106c.tar.bz2
drakx-aac7032ff4116a154d224ecd5457d8a043f4106c.tar.xz
drakx-aac7032ff4116a154d224ecd5457d8a043f4106c.zip
any.pm: enable module load PPC
detect_devices.pm: forgot to remove commented code after test netconnect.pm: load macserial module for PPC
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index d3bdbf8b7..0ceb0b1e4 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -55,15 +55,7 @@ sub burners { grep { $_->{type} eq 'cdrom' && isBurner($_->{device}) } get()
sub IDEburners { grep { $_->{type} eq 'cdrom' && isBurner($_->{device}) } getIDE() }
sub get_mac_model() {
-# open(FILE, "/proc/device-tree/model") || die "Can't open /proc/device-tree/model";
-# my $mac_model = "";
-# local $_ = "";
-# while (<FILE>){
-# $mac_model = $_;
-# }
-# close(FILE);
my $mac_model = cat_("/proc/device-tree/model") || die "Can't open /proc/device-tree/model";
-# chop($mac_model);
log::l("Mac model: $mac_model");
$mac_model;
}