Remove and reinstall i2p
This commit is contained in:
parent
79448aa603
commit
70b42d8802
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue