#2805 fix calling tor status

This commit is contained in:
rootzoll 2021-12-16 21:10:00 +01:00
parent 37b6076117
commit b8b23b8a65

View File

@ -122,7 +122,7 @@ if [ ${runOnline} -eq 1 ]; then
# next try if tor test site can be called # next try if tor test site can be called
if [ ${online} -eq 0 ]; then if [ ${online} -eq 0 ]; then
torFunctional="0" 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 if [ "${torFunctional}" == "1" ]; then
# tor delivers content # tor delivers content
online=1 online=1