From 578af997ca521d525b27d8b94a9a464ab849796d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 14 Feb 2018 18:18:49 +0000 Subject: [PATCH] Remove i2p log files --- src/freedombone-utils-i2p | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone-utils-i2p b/src/freedombone-utils-i2p index e04bb49d..36f3cc61 100755 --- a/src/freedombone-utils-i2p +++ b/src/freedombone-utils-i2p @@ -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