diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-25 14:22:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-25 14:22:28 +0000 |
commit | fed236f9939dfad4643a835ee93c95bcfc38f9e7 (patch) | |
tree | 10bc2186c7c3069f54e0554e97a6f4fde6ff4413 /perl-install/harddrake | |
parent | 30e563c4e6b40b2a148b7ee444df21438b065e10 (diff) | |
download | drakx-fed236f9939dfad4643a835ee93c95bcfc38f9e7.tar drakx-fed236f9939dfad4643a835ee93c95bcfc38f9e7.tar.gz drakx-fed236f9939dfad4643a835ee93c95bcfc38f9e7.tar.bz2 drakx-fed236f9939dfad4643a835ee93c95bcfc38f9e7.tar.xz drakx-fed236f9939dfad4643a835ee93c95bcfc38f9e7.zip |
handle floppes, zip drives, dvd-rom, cdrom and burners at startup time
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index b3ff53efc..f29c59f24 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -31,12 +31,12 @@ sub set_removable_configurator { our @tree = ( - [ "FLOPPY", , N("Floppy"), "floppy.png", "", \&detect_devices::floppies, 0 ], - [ "ZIP", , N("Zip"), "floppy.png", "", \&detect_devices::zips, 0 ], + [ "FLOPPY", , N("Floppy"), "floppy.png", "", \&detect_devices::floppies, 1 ], + [ "ZIP", , N("Zip"), "floppy.png", "", \&detect_devices::zips, 1 ], [ "HARDDISK", , N("Disk"), "harddisk.png", "$sbindir/diskdrake", \&detect_devices::hds, 1 ], - [ "CDROM", , N("CDROM"), "cd.png", "", sub { grep { !(detect_devices::isBurner($_) || detect_devices::isDvdDrive($_)) } &detect_devices::cdroms }, 0 ], - [ "BURNER", , N("CD/DVD burners"), "cd.png", "", \&detect_devices::burners, 0 ], - [ "DVDROM", , N("DVD-ROM"), "cd.png", "", sub { grep { ! detect_devices::isBurner($_) } detect_devices::dvdroms() }, 0 ], + [ "CDROM", , N("CDROM"), "cd.png", "", sub { grep { !(detect_devices::isBurner($_) || detect_devices::isDvdDrive($_)) } &detect_devices::cdroms }, 1 ], + [ "BURNER", , N("CD/DVD burners"), "cd.png", "", \&detect_devices::burners, 1 ], + [ "DVDROM", , N("DVD-ROM"), "cd.png", "", sub { grep { ! detect_devices::isBurner($_) } detect_devices::dvdroms() }, 1 ], [ "TAPE", , N("Tape"), "tape.png", "", \&detect_devices::tapes, 0 ], [ "VIDEO", , N("Videocard"), "video.png", "$sbindir/XFdrake", sub { grep { $_->{driver} =~ /^(Card|Server):/ || $_->{media_type} =~ /DISPLAY_VGA/ } @devices }, 1 ], [ "TV", , N("Tvcard"), "tv.png", "/usr/bin/XawTV", sub { grep { $_->{media_type} =~ /MULTIMEDIA_VIDEO/ && $_->{bus} eq 'PCI' || $_->{driver} eq 'usbvision' } @devices }, 0 ], |