|
@@ -56,6 +56,7 @@ function install_i2p {
|
56
|
56
|
# i2p needs ipv6 to be enabled
|
57
|
57
|
sed -i 's|net.ipv6.conf.all.disable_ipv6.*|net.ipv6.conf.all.disable_ipv6 = 0|g' /etc/sysctl.conf
|
58
|
58
|
/sbin/sysctl -p -q
|
|
59
|
+ sysctl --system
|
59
|
60
|
|
60
|
61
|
apt-get update
|
61
|
62
|
apt-get -yq install i2p i2p-keyring
|
|
@@ -68,6 +69,7 @@ function remove_i2p {
|
68
|
69
|
# This might not be true in future
|
69
|
70
|
sed -i 's|net.ipv6.conf.all.disable_ipv6.*|net.ipv6.conf.all.disable_ipv6 = 1|g' /etc/sysctl.conf
|
70
|
71
|
/sbin/sysctl -p -q
|
|
72
|
+ sysctl --system
|
71
|
73
|
|
72
|
74
|
if [ -d /var/lib/i2p ]; then
|
73
|
75
|
rm -rf /var/lib/i2p
|