epicyon/scripts/unauthorized

8 lines
189 B
Plaintext
Raw Normal View History

2021-06-18 11:57:09 +00:00
#!/bin/bash
journalctl -u epicyon | grep 'getJson Unauthorized ' > .unauthorized.txt
if [ ! -f .unauthorized.txt ]; then
echo 'No unauthorized events'
else
cat .unauthorized.txt
fi