Remove i2p log files

This commit is contained in:
Bob Mottram 2018-02-14 18:18:49 +00:00
parent 10ee8db478
commit 578af997ca
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,9 @@ function remove_i2p {
if [ -d /usr/share/i2p ]; then
rm -rf /usr/share/i2p
fi
if [ -d /var/log/i2p ]; then
rm /var/log/i2p
fi
}
function i2p_enable_sam {
@ -97,6 +100,9 @@ function i2p_enable_sam {
if [ -d /usr/share/i2p ]; then
rm -rf /usr/share/i2p
fi
if [ -d /var/log/i2p ]; then
rm /var/log/i2p
fi
apt-get -yq install i2p i2p-keyring
apt-get -yq install i2p-router
sleep 10