diff options
author | Florent Villard <warly@mandriva.com> | 2004-01-09 17:25:31 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2004-01-09 17:25:31 +0000 |
commit | ac74f2ebcda3a508917b7b07095fb22598ebd0fa (patch) | |
tree | 6eb496e3604e7a61c65440f6a83b6bacf8ff17ec | |
parent | 3676506e9be767f86e2ec3c16acdb5cae44f29b5 (diff) | |
download | bootsplash-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-x | scripts/detect-resolution | 2 |
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]+),){ |