diff options
-rw-r--r-- | perl-install/NEWS | 4 | ||||
-rw-r--r-- | perl-install/harddrake/data.pm | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index f48dc080c..7ae84e790 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,4 +1,8 @@ - make formatXiB() handle negative numbers (for rpmdrake) +- service_harddrake: + o auto-configure CD-Rom drives in fstab again (even if it prevents + KDE media manager from unmounting them), to be consistent with + install which actually configures CD-Rom drives in fstab Version 10.4.208 - 21 September 2007, by Olivier "blino" Blin diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 398602761..46ac723c0 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -36,7 +36,7 @@ sub f { # FIXME: add translated items sub is_removable { $_[0] =~ /FLOPPY|ZIP|DVDROM|CDROM|BURNER/ } -sub is_auto_configurable_media { $_[0] =~ /FLOPPY|ZIP|HARDDISK/ } +sub is_auto_configurable_media { is_removable($_[0]) || $_[0] =~ /HARDDISK/ } sub set_removable_configurator { my ($class, $device) = @_; @@ -100,7 +100,7 @@ our @tree = icon => "cd.png", configurator => "", detector => sub { f(grep { !(detect_devices::isBurner($_) || detect_devices::isDvdDrive($_)) } &detect_devices::cdroms) }, - checked_on_boot => 0, + checked_on_boot => 1, automatic => 1, }, @@ -110,7 +110,7 @@ our @tree = icon => "cd.png", configurator => "", detector => sub { f(detect_devices::burners()) }, - checked_on_boot => 0, + checked_on_boot => 1, automatic => 1, }, @@ -120,7 +120,7 @@ our @tree = icon => "cd.png", configurator => "", detector => sub { f(grep { ! detect_devices::isBurner($_) } detect_devices::dvdroms()) }, - checked_on_boot => 0, + checked_on_boot => 1, automatic => 1, }, |