2021-11-01 10:27:20 +00:00
|
|
|
#!/bin/bash
|
2026-07-05 12:34:54 +00:00
|
|
|
dir_name="epicyon"
|
|
|
|
|
if [ ! -d /etc/${dir_name} ]; then
|
|
|
|
|
if [ -d /opt/epicyon-tor ]; then
|
|
|
|
|
dir_name="epicyon-tor"
|
|
|
|
|
elif [ -d /opt/epicyon-i2p ]; then
|
|
|
|
|
dir_name="epicyon-i2p"
|
|
|
|
|
elif [ -d /opt/epicyon-yggdrasil ]; then
|
|
|
|
|
dir_name="epicyon-yggdrasil"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
journalctl -u ${dir_name} | grep 'EX: ' > .exceptions.txt
|
2021-11-01 10:27:20 +00:00
|
|
|
if [ ! -f .exceptions.txt ]; then
|
|
|
|
|
echo 'No exceptions'
|
|
|
|
|
else
|
|
|
|
|
cat .exceptions.txt
|
|
|
|
|
fi
|