|
@ -57,7 +57,7 @@ fi |
|
|
|
|
|
|
|
|
# location of TOR config |
|
|
# location of TOR config |
|
|
# make sure /etc/tor exists |
|
|
# make sure /etc/tor exists |
|
|
sudo mkdir /etc/tor |
|
|
sudo mkdir /etc/tor 2>/dev/null |
|
|
torrc="/etc/tor/torrc" |
|
|
torrc="/etc/tor/torrc" |
|
|
|
|
|
|
|
|
# stop services |
|
|
# stop services |
|
@ -251,18 +251,6 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then |
|
|
echo "OK" |
|
|
echo "OK" |
|
|
echo "" |
|
|
echo "" |
|
|
|
|
|
|
|
|
#echo "*** Remove Tor ***" |
|
|
|
|
|
#sudo apt remove tor tor-arm -y |
|
|
|
|
|
#echo "" |
|
|
|
|
|
|
|
|
|
|
|
#echo "*** Remove NYX ***" |
|
|
|
|
|
#sudo pip uninstall nyx -y |
|
|
|
|
|
#echo "" |
|
|
|
|
|
|
|
|
|
|
|
#echo "*** Remove TOR Files/Config ***" |
|
|
|
|
|
#sudo rm -r -f /mnt/hdd/tor |
|
|
|
|
|
#echo "" |
|
|
|
|
|
|
|
|
|
|
|
echo "needs reboot to activate new setting" |
|
|
echo "needs reboot to activate new setting" |
|
|
exit 0 |
|
|
exit 0 |
|
|
fi |
|
|
fi |
|
|