2020-08-24 17:39:52 +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 'could not be' > .keyfailures.txt
|
2020-08-24 17:39:52 +00:00
|
|
|
if [ ! -f .keyfailures.txt ]; then
|
|
|
|
|
echo 'No key failures'
|
|
|
|
|
else
|
|
|
|
|
cat .keyfailures.txt
|
|
|
|
|
fi
|