Browse Source

activate virtual env

master
Christian Rotzoll 6 years ago
parent
commit
21e2621566
  1. 3
      home.admin/70initLND.sh

3
home.admin/70initLND.sh

@ -170,7 +170,7 @@ if [ ${walletExists} -eq 0 ]; then
# generate wallet with seed and set passwordC
echo "Generating new Wallet ...."
source /home/admin/python-env-lnd/bin/activate
/home/admin/python-env-lnd/bin/activate
python /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
@ -330,6 +330,7 @@ to protect the seed words. Most users did not set this.
if [ "${CHOICE}" == "SEED+SCB" ] || [ "${CHOICE}" == "ONLYSEED" ]; then
# trigger wallet recovery
/home/admin/python-env-lnd/bin/activate
source <(python /home/admin/config.scripts/lnd.initwallet.py seed ${passwordC} ${wordstring} ${passwordD})
# check if wallet was created for real

Loading…
Cancel
Save