diff options
Diffstat (limited to 'scripts/detect-resolution')
-rwxr-xr-x | scripts/detect-resolution | 2 |
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.*\)(.*)/; } |