mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
debug output
This commit is contained in:
@@ -249,6 +249,7 @@ if [ "${lightning}" == "lnd" ]; then
|
|||||||
# WALLET --> SEED + SCB
|
# WALLET --> SEED + SCB
|
||||||
if [ "${seedWords}" != "" ] && [ "${staticchannelbackup}" != "" ]; then
|
if [ "${seedWords}" != "" ] && [ "${staticchannelbackup}" != "" ]; then
|
||||||
|
|
||||||
|
echo "WALLET --> SEED + SCB " >> ${logFile}
|
||||||
sudo sed -i "s/^message=.*/message='LND Wallet (SEED & SCB)'/g" ${infoFile}
|
sudo sed -i "s/^message=.*/message='LND Wallet (SEED & SCB)'/g" ${infoFile}
|
||||||
sudo /home/admin/config.scripts/lnd.initwallet.py scb ${passwordC} "${seedWords}" "${staticchannelbackup}" ${seedPassword}
|
sudo /home/admin/config.scripts/lnd.initwallet.py scb ${passwordC} "${seedWords}" "${staticchannelbackup}" ${seedPassword}
|
||||||
if [ "${err}" != "" ]; then
|
if [ "${err}" != "" ]; then
|
||||||
@@ -264,6 +265,7 @@ if [ "${lightning}" == "lnd" ]; then
|
|||||||
# WALLET --> SEED
|
# WALLET --> SEED
|
||||||
elif [ "${seedWords}" != "" ]; then
|
elif [ "${seedWords}" != "" ]; then
|
||||||
|
|
||||||
|
echo "WALLET --> SEED" >> ${logFile}
|
||||||
sudo sed -i "s/^message=.*/message='LND Wallet (SEED)'/g" ${infoFile}
|
sudo sed -i "s/^message=.*/message='LND Wallet (SEED)'/g" ${infoFile}
|
||||||
sudo /home/admin/config.scripts/lnd.initwallet.py seed ${passwordC} "${seedWords}" ${seedPassword}
|
sudo /home/admin/config.scripts/lnd.initwallet.py seed ${passwordC} "${seedWords}" ${seedPassword}
|
||||||
if [ "${err}" != "" ]; then
|
if [ "${err}" != "" ]; then
|
||||||
@@ -279,6 +281,7 @@ if [ "${lightning}" == "lnd" ]; then
|
|||||||
# WALLET --> NEW
|
# WALLET --> NEW
|
||||||
else
|
else
|
||||||
|
|
||||||
|
echo "WALLET --> NEW" >> ${logFile}
|
||||||
sudo sed -i "s/^message=.*/message='LND Wallet (NEW)'/g" ${infoFile}
|
sudo sed -i "s/^message=.*/message='LND Wallet (NEW)'/g" ${infoFile}
|
||||||
source <(sudo /home/admin/config.scripts/lnd.initwallet.py new ${passwordC})
|
source <(sudo /home/admin/config.scripts/lnd.initwallet.py new ${passwordC})
|
||||||
if [ "${err}" != "" ]; then
|
if [ "${err}" != "" ]; then
|
||||||
|
Reference in New Issue
Block a user