epicyon/scripts/accept

8 lines
190 B
Plaintext
Raw Normal View History

2023-08-28 17:55:24 +00:00
#!/bin/bash
2023-08-28 18:06:10 +00:00
journalctl -u epicyon | grep -i ' follow accept ' > .accept_events.txt
2023-08-28 17:55:24 +00:00
if [ ! -f .accept_events.txt ]; then
2023-08-28 18:06:10 +00:00
echo 'No follow Accept events'
2023-08-28 17:55:24 +00:00
else
cat .accept_events.txt
fi