Browse Source

change order of user dialogs

master
Christian Rotzoll 6 years ago
parent
commit
d81115a518
  1. 12
      home.admin/70initLND.sh

12
home.admin/70initLND.sh

@ -227,6 +227,12 @@ or having a complete LND rescue-backup from your old node.
fi
fi
# let user enter password c
sudo shred /home/admin/.pass.tmp 2>/dev/null
sudo ./config.scripts/blitz.setpassword.sh x "Set your Password C for the LND Wallet Unlock" /home/admin/.pass.tmp
passwordC=`sudo cat /home/admin/.pass.tmp`
sudo shred /home/admin/.pass.tmp 2>/dev/null
# get seed word list
if [ "${CHOICE}" == "SEED+SCB" ] || [ "${CHOICE}" == "ONLYSEED" ]; then
@ -273,12 +279,6 @@ to protect the seed words. Most users did not set this.
fi
# let user enter password c
sudo shred /home/admin/.pass.tmp 2>/dev/null
sudo ./config.scripts/blitz.setpassword.sh x "Set your Password C for the LND Wallet Unlock" /home/admin/.pass.tmp
passwordC=`sudo cat /home/admin/.pass.tmp`
sudo shred /home/admin/.pass.tmp 2>/dev/null
if [ "${CHOICE}" == "ONLYSEED" ]; then
# trigger wallet recovery

Loading…
Cancel
Save