From 8bbedaa3c119e329af0a1ba6818283c4c393e7d6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 24 Aug 2020 18:39:52 +0100 Subject: [PATCH] Script to show key failures --- scripts/keyfailures | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/keyfailures diff --git a/scripts/keyfailures b/scripts/keyfailures new file mode 100755 index 00000000..54eee13e --- /dev/null +++ b/scripts/keyfailures @@ -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