mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 18:22:01 +01:00
used cached peer status
This commit is contained in:
parent
bc76dce517
commit
dbdbfe8622
@ -89,7 +89,7 @@ configWifiExists=$(sudo cat /etc/wpa_supplicant/wpa_supplicant.conf 2>/dev/null|
|
||||
# first quick check if bitcoind has peers - if so the client is online
|
||||
# if not then recheck by pinging different sources if online
|
||||
# used cached results to not delay (cache will be updated by background process)
|
||||
source <(/home/admin/config.scripts/network.monitor.sh peer-status)
|
||||
source <(/home/admin/config.scripts/network.monitor.sh peer-status cached)
|
||||
|
||||
online=0
|
||||
if [ "${peers}" != "0" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user