unauthorized script

merge-requests/20/merge
Bob Mottram 2021-06-18 12:57:09 +01:00
parent 7c6e2c6961
commit 8b5f058a2e
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
journalctl -u epicyon | grep 'getJson Unauthorized ' > .unauthorized.txt
if [ ! -f .unauthorized.txt ]; then
echo 'No unauthorized events'
else
cat .unauthorized.txt
fi