mirror of https://gitlab.com/bashrc2/epicyon
8 lines
189 B
Plaintext
8 lines
189 B
Plaintext
|
#!/bin/bash
|
||
|
journalctl -u epicyon | grep 'getJson Unauthorized ' > .unauthorized.txt
|
||
|
if [ ! -f .unauthorized.txt ]; then
|
||
|
echo 'No unauthorized events'
|
||
|
else
|
||
|
cat .unauthorized.txt
|
||
|
fi
|