mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
Bug: Changed script name
This commit is contained in:
parent
ea242fd0af
commit
13345bc188
@ -20,7 +20,7 @@ function sign(){
|
|||||||
|
|
||||||
# Running grub2-verify first to prevent bad people and double signing
|
# Running grub2-verify first to prevent bad people and double signing
|
||||||
echo "Running grub2-verify to check if everything is unsigned..." >&2
|
echo "Running grub2-verify to check if everything is unsigned..." >&2
|
||||||
grub2-verify
|
grub-verify
|
||||||
if (( $? < 2 )); then
|
if (( $? < 2 )); then
|
||||||
echo "Run grub2-unsign first." >&2
|
echo "Run grub2-unsign first." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# Licence: GNU-GPLv3
|
# Licence: GNU-GPLv3
|
||||||
|
|
||||||
# Check if something is wrong
|
# Check if something is wrong
|
||||||
grub2-verify
|
grub-verify
|
||||||
stat=$?
|
stat=$?
|
||||||
case "$stat" in
|
case "$stat" in
|
||||||
1)
|
1)
|
||||||
|
Loading…
Reference in New Issue
Block a user