Skip to content

Commit 4d61476

Browse files
committed
build: install torsocks and nyx for armv6
1 parent acba65f commit 4d61476

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

build_joininbox.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff 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

378379
else
379-
echo "# INSTALL TOR "
380-
apt install -y tor torsocks tor-arm
380+
echo "# INSTALL TOR"
381+
apt install -y tor
381382
fi
382383

384+
echo "# install torsocks and nyx"
385+
apt install -y torsocks tor-arm
386+
383387
if ! grep -Eq "^DataDirectory" /etc/tor/torrc; then
384388
echo "
385389
DataDirectory /var/lib/tor

0 commit comments

Comments
 (0)