unauthorized script

This commit is contained in:
bashrc committed 2021-06-18 12:57:09 +01:00
1 parent 7c6e2c6961
commit 8b5f058a2e
1 file changed
+7
+7
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