From f612082b6ec2c25f805824e8c042ad8dae811ad2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 14 Sep 2004 04:52:04 +0000 Subject: detect scanners later so that we filter out bogus usb devices detected by sane_find_scanner --- perl-install/harddrake/data.pm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'perl-install/harddrake') diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 773f3ee55..04e6a1406 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -366,6 +366,15 @@ our @tree = checked_on_boot => 0, }, + { + class => "UPS", + string => N("UPS"), + icon => "harddisk.png", + configurator => "$sbindir/drakups", + detector => sub { detect_devices::getUPS() }, + checked_on_boot => 0, + }, + { class => "SCANNER", string => N("Scanner"), @@ -376,15 +385,6 @@ our @tree = checked_on_boot => 0, }, - { - class => "UPS", - string => N("UPS"), - icon => "harddisk.png", - configurator => "$sbindir/drakups", - detector => sub { detect_devices::getUPS() }, - checked_on_boot => 0, - }, - { class => "UNKNOWN", string => N("Unknown/Others"), -- cgit v1.2.1