mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
Renaming script names: grub2-.* to grub-.*, including grub.cfg for update-kernel-signature
This commit is contained in:
@ -14,11 +14,18 @@ function sign(){
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
if gpg --detach-sign "/boot/grub/grub.cfg"
|
||||
then
|
||||
echo /boot/grub/grub.cfg signed.
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
rm /boot/*.sig
|
||||
rm /boot/grub/grub.cfg.sig
|
||||
|
||||
if ! sign
|
||||
then
|
Reference in New Issue
Block a user