From 0bc655c8b88c9a2c92db66dc8b259c56ec53ee49 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 7 Jan 2004 16:08:41 +0000 Subject: pass --splash to mkinitrd (so that make-boot-splash doesn't rely on lilo.conf or menu.lst) --- perl-install/Xconfig/resolution_and_depth.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install/Xconfig') diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index 5efac6ae5..8c095a64b 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -44,6 +44,11 @@ my @bios_vga_modes = ( { bios => 794, X => 1280, Y => 1024, Depth => 16 }, ); +sub from_bios { + my ($bios) = @_; + find { $_->{bios} == $bios } @bios_vga_modes; +} + sub size2default_resolution { my ($size) = @_; #- size in inch -- cgit v1.2.1