From 88a07c82cece62903ae68e1e2c482d810bbf8560 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 29 Jul 1999 15:18:54 +0000 Subject: no_comment --- perl-install/detect_devices.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'perl-install/detect_devices.pm') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 6cc170368..d226d033b 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -40,7 +40,7 @@ sub hasSCSI() { log::l("scsi devices are available"); $scsiDeviceAvailable = 1; } -sub hasIDE() { 1 } +sub hasIDE() { -e "/proc/ide" } sub hasDAC960() { 1 } sub hasCompaqSmartArray() { @@ -82,8 +82,6 @@ sub getSCSI() { sub getIDE() { my @idi; - -r "/proc/ide" or die "sorry, /proc/ide not available, seems like you have a pre-2.2 kernel\n => not handled yet :("; - # Great. 2.2 kernel, things are much easier and less error prone. foreach my $d (glob_('/proc/ide/hd*')) { my ($t) = chop_(cat_("$d/media")); -- cgit v1.2.1