mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
#841 70iniLND.sh calling lnd.initwallet.py
This commit is contained in:
parent
49a50e326a
commit
4358b3c447
1 changed files with 2 additions and 2 deletions
|
@ -197,13 +197,13 @@ if [ ${walletExists} -eq 0 ]; then
|
|||
clear
|
||||
echo "Generating new Wallet ...."
|
||||
source /home/admin/python3-env-lnd/bin/activate
|
||||
python3 /home/admin/config.scripts/lnd.initwallet2.py new ${passwordC} > /home/admin/.seed.tmp
|
||||
python3 /home/admin/config.scripts/lnd.initwallet.py new ${passwordC} > /home/admin/.seed.tmp
|
||||
source /home/admin/.seed.tmp
|
||||
sudo shred /home/admin/.pass.tmp 2>/dev/null
|
||||
|
||||
# in case of error - retry
|
||||
if [ ${#err} -gt 0 ]; then
|
||||
whiptail --title "lnd.initwallet2.py - ERROR" --msgbox "${err}" 8 50
|
||||
whiptail --title "lnd.initwallet.py - ERROR" --msgbox "${err}" 8 50
|
||||
/home/admin/70initLND.sh
|
||||
exit 1
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue