summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-21 11:57:29 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-21 11:57:29 +0000
commitf5257d25b8d9b20b2a2ba5a3da3ad6dab21506b2 (patch)
tree1fdc72bdacb53f47580320b7d866ac76a5c4a5a9 /perl-install/harddrake/data.pm
parentcac7d455fe86e2cf5c524f1c8101c85e67fcf2b0 (diff)
downloaddrakx-f5257d25b8d9b20b2a2ba5a3da3ad6dab21506b2.tar
drakx-f5257d25b8d9b20b2a2ba5a3da3ad6dab21506b2.tar.gz
drakx-f5257d25b8d9b20b2a2ba5a3da3ad6dab21506b2.tar.bz2
drakx-f5257d25b8d9b20b2a2ba5a3da3ad6dab21506b2.tar.xz
drakx-f5257d25b8d9b20b2a2ba5a3da3ad6dab21506b2.zip
service_harddrake: automatically configure harddisks
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index feffcab2a..231f5991d 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -35,7 +35,7 @@ sub f {
# FIXME: add translated items
-sub is_removable { $_[0] =~ /FLOPPY|ZIP/ }
+sub is_removable { $_[0] =~ /FLOPPY|ZIP|HARDDISK/ }
sub set_removable_configurator {
my ($class, $device) = @_;
@@ -89,7 +89,8 @@ our @tree =
icon => "harddisk.png",
configurator => "$sbindir/diskdrake",
detector => sub { f(detect_devices::hds()) },
- checked_on_boot => 0,
+ checked_on_boot => 1,
+ automatic => 1,
},
{