Remove i2p log files
This commit is contained in:
parent
10ee8db478
commit
578af997ca
|
@ -82,6 +82,9 @@ function remove_i2p {
|
||||||
if [ -d /usr/share/i2p ]; then
|
if [ -d /usr/share/i2p ]; then
|
||||||
rm -rf /usr/share/i2p
|
rm -rf /usr/share/i2p
|
||||||
fi
|
fi
|
||||||
|
if [ -d /var/log/i2p ]; then
|
||||||
|
rm /var/log/i2p
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function i2p_enable_sam {
|
function i2p_enable_sam {
|
||||||
|
@ -97,6 +100,9 @@ function i2p_enable_sam {
|
||||||
if [ -d /usr/share/i2p ]; then
|
if [ -d /usr/share/i2p ]; then
|
||||||
rm -rf /usr/share/i2p
|
rm -rf /usr/share/i2p
|
||||||
fi
|
fi
|
||||||
|
if [ -d /var/log/i2p ]; then
|
||||||
|
rm /var/log/i2p
|
||||||
|
fi
|
||||||
apt-get -yq install i2p i2p-keyring
|
apt-get -yq install i2p i2p-keyring
|
||||||
apt-get -yq install i2p-router
|
apt-get -yq install i2p-router
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
Loading…
Reference in New Issue