Bob Mottram hace 10 años
padre
commit
f7283a0af5
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2
    3
      install-freedombone.sh

+ 2
- 3
install-freedombone.sh Ver fichero

@@ -4973,9 +4973,8 @@ function route_outgoing_traffic_through_tor {
4973 4973
   # Destinations you don't want routed through Tor
4974 4974
   _non_tor="192.168.1.0/24 192.168.0.0/24"
4975 4975
 
4976
-  # The UID that Tor runs as (varies from system to system)
4977
-  # TODO this changes every time tor is started, so won't work
4978
-  _tor_uid=$(ps -ef | grep /usr/bin/tor | grep -v grep | awk -F ' ' '{print $2}')
4976
+  # The user that Tor runs as
4977
+  _tor_uid="debian-+"
4979 4978
 
4980 4979
   # Tor's TransPort
4981 4980
   _trans_port="9040"