diff --git a/src/freedombone-utils-i2p b/src/freedombone-utils-i2p index f75ced03..d3ef3163 100755 --- a/src/freedombone-utils-i2p +++ b/src/freedombone-utils-i2p @@ -86,8 +86,11 @@ function remove_i2p { function i2p_enable_sam { if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then - systemctl restart i2p - sleep 10 + apt-get -yq remove i2p --purge + apt-get -yq remove i2p-router --purge + apt-get -yq install i2p + apt-get -yq install i2p-router + sleep 2 fi if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then echo $'File not found /var/lib/i2p/i2p-config/clients.config'