Commit 09d50df6 authored by Eduard Toloza's avatar Eduard Toloza

Fix PATH issue

parent deef9066
......@@ -3,13 +3,13 @@
# Autor: Edu4rdSHL @edu4rdshl
#Defining variables
istor=$(which tor > /dev/null)
istor=$(which tor 2> /dev/null)
torconfig="/etc/tor/torrc"
torconfigbackup="/etc/tor/torrc.backup"
issystemd=$(which systemctl > /dev/null)
issystemd=$(which systemctl 2> /dev/null)
executablerules="./files/tor-router"
servicefile="./files/tor-router.service"
iscurl=$(which curl > /dev/null)
iscurl=$(which curl 2> /dev/null)
#Check if the current user have root privileges
if [ "$UID" -ne "0" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment