mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
setup info
This commit is contained in:
parent
d8fea374f1
commit
d1cc01cf5a
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1
|
||||||
# function to use later
|
# function to use later
|
||||||
waitUntilChainNetworkIsReady()
|
waitUntilChainNetworkIsReady()
|
||||||
{
|
{
|
||||||
|
echo "checking ${network}d - please wait .."
|
||||||
while :
|
while :
|
||||||
do
|
do
|
||||||
sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo 1>/dev/null 2>error.tmp
|
sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo 1>/dev/null 2>error.tmp
|
||||||
|
|
Loading…
Add table
Reference in a new issue