From ac74f2ebcda3a508917b7b07095fb22598ebd0fa Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Fri, 9 Jan 2004 17:25:31 +0000 Subject: tighten grub loader vga= detection (thanks to Michael Reinsch) --- scripts/detect-resolution | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/detect-resolution b/scripts/detect-resolution index 6a777c1..0f96b9d 100755 --- a/scripts/detect-resolution +++ b/scripts/detect-resolution @@ -61,7 +61,7 @@ sub parse_grub_conf { $cnt++; } if (m/kernel\s+\(.*\)[^\s]+/) { - $vga = $1 if /vga=(.*)/; + $vga = $1 if /vga=(\w*)/; $entry{$title}{vga} = $vga if ($title and $vga); } if (m,initrd\s+\(.*\)(?:.*/)?([^\s]+),){ -- cgit v1.2.1