Skip to content
Snippets Groups Projects
Commit 637647e2 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove directories if they exist

parent 6a54a30e
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,13 @@ 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
if [ -d /var/lib/i2p ]; then
rm -rf /var/lib/i2p
fi
if [ -d /etc/i2p ]; then
rm -rf /etc/i2p
fi
}
function i2p_enable_sam {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment