Script to show key failures

This commit is contained in:
bashrc committed 2020-08-24 18:39:52 +01:00
1 parent 9c7895e43a
commit 8bbedaa3c1
1 file changed
+7
+7
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