Files
epicyon/scripts/unauthorized
T

7 lines
189 B
Bash
Raw Normal View History

2021-06-18 12:57:09 +01: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