mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
added some delay
This commit is contained in:
parent
afa81beabf
commit
f5bd449d70
@ -53,8 +53,9 @@ if [ "${chain}" != "${choice}" ]; then
|
||||
sudo /home/admin/config.scripts/network.chain.sh ${choice}net
|
||||
walletExists=$(sudo ls /mnt/hdd/lnd/data/chain/${network}/${choice}net/wallet.db 2>/dev/null | grep -c 'wallet.db')
|
||||
if [ ${walletExists} -eq 0 ]; then
|
||||
echo "Need to creating a new wallet ..."
|
||||
echo "Need to creating a new wallet ... wait 20secs"
|
||||
sudo systemctl start lnd
|
||||
sleep 20
|
||||
tryAgain=1
|
||||
while [ ${tryAgain} -eq 1 ]
|
||||
do
|
||||
|
Loading…
x
Reference in New Issue
Block a user