Bob Mottram před 10 roky
rodič
revize
f7283a0af5
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 2
    3
      install-freedombone.sh

+ 2
- 3
install-freedombone.sh Zobrazit soubor

@@ -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"