From f5257d25b8d9b20b2a2ba5a3da3ad6dab21506b2 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 21 Sep 2007 11:57:29 +0000 Subject: service_harddrake: automatically configure harddisks --- perl-install/NEWS | 1 + perl-install/harddrake/data.pm | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 97e6bcba4..1a22bc22b 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,6 +1,7 @@ - harddrake: o do not auto-configure CD-Rom drives in fstab, it fordbids umounting with hal (install does not configure them in fstab either) + o automatically configure harddisks - finish-install: o write autologin settings after user creation only (so that home is set and exists, should partly fix GNOME autologin) 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, }, { -- cgit v1.2.1