|
|
@@ -86,8 +86,11 @@ function remove_i2p {
|
|
86
|
86
|
|
|
87
|
87
|
function i2p_enable_sam {
|
|
88
|
88
|
if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then
|
|
89
|
|
- systemctl restart i2p
|
|
90
|
|
- sleep 10
|
|
|
89
|
+ apt-get -yq remove i2p --purge
|
|
|
90
|
+ apt-get -yq remove i2p-router --purge
|
|
|
91
|
+ apt-get -yq install i2p
|
|
|
92
|
+ apt-get -yq install i2p-router
|
|
|
93
|
+ sleep 2
|
|
91
|
94
|
fi
|
|
92
|
95
|
if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then
|
|
93
|
96
|
echo $'File not found /var/lib/i2p/i2p-config/clients.config'
|