epicyon/scripts/accept

8 lines
176 B
Plaintext
Raw Normal View History

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