activate virtual env

This commit is contained in:
Christian Rotzoll 2019-05-01 01:09:26 +02:00
parent 366801f35b
commit 362c0d6244

View File

@ -170,7 +170,7 @@ if [ ${walletExists} -eq 0 ]; then
# generate wallet with seed and set passwordC
echo "Generating new Wallet ...."
/home/admin/python-env-lnd/bin/activate
source /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,7 +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 /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