Reload sysctl
This commit is contained in:
parent
218875928e
commit
d0d46a8b76
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue