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