forked from pool/grub2
Accepting request 339606 from home:eeich:branches:Base:System
- Include custom.cfg into the files scanned by grub2-once. Allows to chose manually added entries as well (FATE#319632). OBS-URL: https://build.opensuse.org/request/show/339606 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=182
This commit is contained in:
@@ -89,6 +89,13 @@ while (<MENU>) {
|
||||
|
||||
close (MENU);
|
||||
|
||||
if (open(MENU, "<$grub2_dir/custom.cfg")) {
|
||||
while (<MENU>) {
|
||||
&parse_menuentry ("", $_);
|
||||
}
|
||||
close (MENU);
|
||||
}
|
||||
|
||||
my $ret = "";
|
||||
my $name = "";
|
||||
my $id = -1;
|
||||
|
Reference in New Issue
Block a user