mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
fix temp path
This commit is contained in:
parent
cfef0c9b8f
commit
14a5eb3d63
@ -165,7 +165,7 @@ alias ${netprefix}lncli=\"sudo -u bitcoin /usr/local/bin/lncli\
|
||||
if [ "${initwallet}" == "1" ] && [ "${walletExists}" == "0" ]; then
|
||||
# only ask on mainnet for passwordC - for the testnet/signet its default 'raspiblitz'
|
||||
if [ "${CHAIN}" == "mainnet" ]; then
|
||||
tempFile="/var/cache/raspiblitz/temp/passwordc.tmp"
|
||||
tempFile="/var/cache/raspiblitz/passwordc.tmp"
|
||||
sudo /home/admin/config.scripts/blitz.setpassword.sh x "PASSWORD C - Lightning Wallet Password" ${tempFile}
|
||||
passwordC=$(sudo cat ${tempFile})
|
||||
sudo rm ${tempFile}
|
||||
@ -175,7 +175,8 @@ alias ${netprefix}lncli=\"sudo -u bitcoin /usr/local/bin/lncli\
|
||||
source <(sudo /home/admin/config.scripts/lnd.initwallet.py mainnet new ${passwordC})
|
||||
if [ "${err}" != "" ]; then
|
||||
clear
|
||||
echo "!!! LND mainnet wallet creation failed"
|
||||
echo "# !!! LND mainnet wallet creation failed"
|
||||
echo "# ${err}"
|
||||
sleep 6
|
||||
else
|
||||
seedFile="/mnt/hdd/lnd/data/chain/${network}/${CHAIN}/seedwords.info"
|
||||
|
Loading…
Reference in New Issue
Block a user