aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/detect-resolution
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-09-04 18:42:38 +0000
committerFlorent Villard <warly@mandriva.com>2003-09-04 18:42:38 +0000
commite09c2acf70224a1c3a10a751dbb8b984448559eb (patch)
tree6ed5193fbaf98074f5a7cda820f80f94e1cf42c3 /scripts/detect-resolution
parentf2277e5fb7eefc10511da223afe8ed20994ffc4f (diff)
downloadbootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.tar
bootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.tar.gz
bootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.tar.bz2
bootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.tar.xz
bootsplash-e09c2acf70224a1c3a10a751dbb8b984448559eb.zip
fix bad theme initialization if no theme defined
2.0.3 add grub resolution detection in detect-resolution try to fix i18n pb in splash.sh
Diffstat (limited to 'scripts/detect-resolution')
-rwxr-xr-xscripts/detect-resolution2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/detect-resolution b/scripts/detect-resolution
index 66a92bd..4155613 100755
--- a/scripts/detect-resolution
+++ b/scripts/detect-resolution
@@ -54,6 +54,8 @@ sub parse_grub_conf {
$entry{$title}{partition} = $1;
$entry{$title}{kernel} = $2;
$entry{$title}{options} = $3;
+ $vga = $1 if /vga=(.*)/;
+ $entry{$title}{vga} = $vga if ($label and $vga);
}
$entry{$title}{initrd} = $1 if m/\s*initrd.*\)(.*)/;
}