Use username
This commit is contained in:
parent
b698c3d629
commit
f7283a0af5
|
@ -4973,9 +4973,8 @@ function route_outgoing_traffic_through_tor {
|
||||||
# Destinations you don't want routed through Tor
|
# Destinations you don't want routed through Tor
|
||||||
_non_tor="192.168.1.0/24 192.168.0.0/24"
|
_non_tor="192.168.1.0/24 192.168.0.0/24"
|
||||||
|
|
||||||
# The UID that Tor runs as (varies from system to system)
|
# The user that Tor runs as
|
||||||
# TODO this changes every time tor is started, so won't work
|
_tor_uid="debian-+"
|
||||||
_tor_uid=$(ps -ef | grep /usr/bin/tor | grep -v grep | awk -F ' ' '{print $2}')
|
|
||||||
|
|
||||||
# Tor's TransPort
|
# Tor's TransPort
|
||||||
_trans_port="9040"
|
_trans_port="9040"
|
||||||
|
|
Loading…
Reference in New Issue