summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-21 11:16:06 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-21 11:16:06 +0000
commit02f06bfe6f0badfb3727abc32ea82e16241e8437 (patch)
tree90e6f52ad1c488758268711b8a779f0d279ecb73 /perl-install/harddrake
parent02662aec096250e8fa9bc81c5acc32a74be0fe0d (diff)
downloaddrakx-02f06bfe6f0badfb3727abc32ea82e16241e8437.tar
drakx-02f06bfe6f0badfb3727abc32ea82e16241e8437.tar.gz
drakx-02f06bfe6f0badfb3727abc32ea82e16241e8437.tar.bz2
drakx-02f06bfe6f0badfb3727abc32ea82e16241e8437.tar.xz
drakx-02f06bfe6f0badfb3727abc32ea82e16241e8437.zip
harddrake: do not auto-configure CD-Rom drives in fstab, it fordbids umounting with hal (install does not configure them in fstab either)
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/data.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 8d5c50637..feffcab2a 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|DVDROM|CDROM|BURNER/ }
+sub is_removable { $_[0] =~ /FLOPPY|ZIP/ }
sub set_removable_configurator {
my ($class, $device) = @_;
@@ -98,7 +98,7 @@ our @tree =
icon => "cd.png",
configurator => "",
detector => sub { f(grep { !(detect_devices::isBurner($_) || detect_devices::isDvdDrive($_)) } &detect_devices::cdroms) },
- checked_on_boot => 1,
+ checked_on_boot => 0,
automatic => 1,
},
@@ -108,7 +108,7 @@ our @tree =
icon => "cd.png",
configurator => "",
detector => sub { f(detect_devices::burners()) },
- checked_on_boot => 1,
+ checked_on_boot => 0,
automatic => 1,
},
@@ -118,7 +118,7 @@ our @tree =
icon => "cd.png",
configurator => "",
detector => sub { f(grep { ! detect_devices::isBurner($_) } detect_devices::dvdroms()) },
- checked_on_boot => 1,
+ checked_on_boot => 0,
automatic => 1,
},