diff --git a/src/freedombone-utils-i2p b/src/freedombone-utils-i2p index 116c63b7..39a81f9f 100755 --- a/src/freedombone-utils-i2p +++ b/src/freedombone-utils-i2p @@ -56,6 +56,7 @@ function install_i2p { # i2p needs ipv6 to be enabled sed -i 's|net.ipv6.conf.all.disable_ipv6.*|net.ipv6.conf.all.disable_ipv6 = 0|g' /etc/sysctl.conf /sbin/sysctl -p -q + sysctl --system apt-get update apt-get -yq install i2p i2p-keyring @@ -68,6 +69,7 @@ function remove_i2p { # This might not be true in future sed -i 's|net.ipv6.conf.all.disable_ipv6.*|net.ipv6.conf.all.disable_ipv6 = 1|g' /etc/sysctl.conf /sbin/sysctl -p -q + sysctl --system if [ -d /var/lib/i2p ]; then rm -rf /var/lib/i2p