File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -365,21 +365,25 @@ WantedBy=multi-user.target
365365 tries=0
366366 while [ " $torTest " != " Congratulations. This browser is configured to use Tor." ]
367367 do
368- echo " waiting for Tor"
369- sleep 5
368+ echo " waiting another 10 seconds for Tor"
369+ echo " press CTRL + C to abort"
370+ sleep 10
370371 tries=$(( tries+ 1 ))
371- if [ $tries = 10 ]; then
372+ if [ $tries = 100 ]; then
372373 echo " # FAIL - Tor was not set up successfully"
373374 exit 1
374375 fi
375376 done
376377 echo " # $torTest "
377378
378379else
379- echo " # INSTALL TOR "
380- apt install -y tor torsocks tor-arm
380+ echo " # INSTALL TOR"
381+ apt install -y tor
381382fi
382383
384+ echo " # install torsocks and nyx"
385+ apt install -y torsocks tor-arm
386+
383387if ! grep -Eq " ^DataDirectory" /etc/tor/torrc; then
384388 echo "
385389DataDirectory /var/lib/tor
You can’t perform that action at this time.
0 commit comments