mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-01 08:28:20 +02:00
activate virtual env
This commit is contained in:
parent
366801f35b
commit
362c0d6244
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user