aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2004-01-09 17:25:31 +0000
committerFlorent Villard <warly@mandriva.com>2004-01-09 17:25:31 +0000
commitac74f2ebcda3a508917b7b07095fb22598ebd0fa (patch)
tree6eb496e3604e7a61c65440f6a83b6bacf8ff17ec
parent3676506e9be767f86e2ec3c16acdb5cae44f29b5 (diff)
downloadbootsplash-ac74f2ebcda3a508917b7b07095fb22598ebd0fa.tar
bootsplash-ac74f2ebcda3a508917b7b07095fb22598ebd0fa.tar.gz
bootsplash-ac74f2ebcda3a508917b7b07095fb22598ebd0fa.tar.bz2
bootsplash-ac74f2ebcda3a508917b7b07095fb22598ebd0fa.tar.xz
bootsplash-ac74f2ebcda3a508917b7b07095fb22598ebd0fa.zip
tighten grub loader vga= detection (thanks to Michael Reinsch)
-rwxr-xr-xscripts/detect-resolution2
1 files changed, 1 insertions, 1 deletions
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]+),){