From a412fe342782661f8656c0ddba7b9c19b2ad0bd1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 30 Aug 2005 11:56:30 +0000 Subject: vga_fb expects the vga mode, not a boolean, fixing --- perl-install/standalone/drakboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakboot') diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index c26992258..dfa8f306a 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -48,7 +48,7 @@ my $bootloader = bootloader::read($all_hds); if (!$bootloader) { $in->ask_okcancel('', N("No bootloader found, creating a new configuration"), 0) or $in->exit; bootloader::suggest($bootloader ||= {}, $all_hds, - vga_fb => listlength(cat_("/proc/fb")), + vga_fb => first($cmdline =~ /\bvga=(\S+)/), #- don't use $1 here, otherwise perl will hit you because of the other "=~" below quiet => $cmdline =~ /\bsplash=silent\b/, ); } -- cgit v1.2.1