From 8d20f61fd9b1c128af79a210b7c8bf4a9d0bfb30 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 14 Jun 2004 08:32:46 +0000 Subject: since some hard disks are USB models, we've to filtering them out once we've detected them in order to prevent tem to appear in the "unknown/other" category --- perl-install/harddrake/data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index a9982d34f..7f51a0beb 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -75,7 +75,7 @@ our @tree = string => N("Disk"), icon => "harddisk.png", configurator => "$sbindir/diskdrake", - detector => \&detect_devices::hds, + detector => sub { f(detect_devices::hds()) }, checked_on_boot => 1, }, -- cgit v1.2.1