summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
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;
}