mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 09:50:19 +01:00
#2805 fix calling tor status
This commit is contained in:
parent
37b6076117
commit
b8b23b8a65
@ -122,7 +122,7 @@ if [ ${runOnline} -eq 1 ]; then
|
||||
# next try if tor test site can be called
|
||||
if [ ${online} -eq 0 ]; then
|
||||
torFunctional="0"
|
||||
source <(timeout 5 /home/admin/config.scripts/internet.tor.sh status)
|
||||
source <(timeout 5 /home/admin/config.scripts/tor.network.sh status)
|
||||
if [ "${torFunctional}" == "1" ]; then
|
||||
# tor delivers content
|
||||
online=1
|
||||
|
Loading…
Reference in New Issue
Block a user