make sure /etc/tor exists

This commit is contained in:
bluecell296 2019-02-05 14:16:23 +00:00 committed by GitHub
parent 247bcc1f34
commit bc99bb8154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,8 @@ if [ ${#runBehindTor} -eq 0 ]; then
fi
# location of TOR config
# make sure /etc/tor exists
sudo mkdir /etc/tor
torrc="/etc/tor/torrc"
# stop services
@ -269,4 +271,4 @@ fi
echo "FAIL - Unknown Paramter $1"
echo "may needs reboot to run normal again"
exit 1
exit 1