mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
What about exit codes?
This commit is contained in:
parent
69c8e42637
commit
3acb5c8d16
11
README.md
11
README.md
@ -84,6 +84,17 @@ If you didn't read the instruction above here is what the scripts does:
|
||||
* `grub2-update-kernel-signature` is renewing the signatures in /boot/. (without subdirs) regardless if grub2-verify fails.
|
||||
|
||||
|
||||
## Exit codes
|
||||
|
||||
You might be interested in the exit codes of `grub2-verify` to use it in your monitoring tools:
|
||||
|
||||
```
|
||||
0 - Everything is okay
|
||||
1 - Found bad signatures
|
||||
2 - No signatures found at all [GRUB2 is completely unsigned]
|
||||
3 - Missing signatures [There are correct signatures but some files are unsigned]
|
||||
```
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user