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

Remove and reinstall i2p

parent 79448aa6
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
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