Browse Source

added some delay

#146
rootzoll 6 years ago
parent
commit
f5bd449d70
  1. 3
      home.admin/00settingsMenuServices.sh

3
home.admin/00settingsMenuServices.sh

@ -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…
Cancel
Save