grub_shigned
This commit is contained in:
parent
d216a45b73
commit
1250f70e55
3 changed files with 8 additions and 40 deletions
13
grubx64.efi.signed.sh
Normal file
13
grubx64.efi.signed.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
if [ -z "$prefix" -o ! -e "$prefix" ]; then
|
||||
if ! search --file --set=root /.disk/info; then
|
||||
search --file --set=root /.disk/mini-info
|
||||
fi
|
||||
set prefix=($root)/boot/grub
|
||||
fi
|
||||
if [ -e $prefix/x86_64-efi/grub.cfg ]; then
|
||||
source $prefix/x86_64-efi/grub.cfg
|
||||
elif [ -e $prefix/grub.cfg ]; then
|
||||
source $prefix/grub.cfg
|
||||
else
|
||||
source $cmdpath/grub.cfg
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue