Script to show key failures

main
Bob Mottram 2020-08-24 18:39:52 +01:00
parent 9c7895e43a
commit 8bbedaa3c1
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
journalctl -u epicyon | grep 'could not be' > .keyfailures.txt
if [ ! -f .keyfailures.txt ]; then
echo 'No key failures'
else
cat .keyfailures.txt
fi