aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/detect-resolution
diff options
context:
space:
mode:
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.*\)(.*)/;
}