mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-08 20:09:03 +02:00
make clnrescue='${clnrescue}' +comment typos
This commit is contained in:
@@ -91,7 +91,7 @@ if [ "${setupPhase}" == "setup" ]; then
|
|||||||
/home/admin/setup.scripts/dialogBasicSetup.sh ${orgSetupPhase}
|
/home/admin/setup.scripts/dialogBasicSetup.sh ${orgSetupPhase}
|
||||||
menuresult=$?
|
menuresult=$?
|
||||||
|
|
||||||
# menu REVOVER menu option
|
# menu RECOVER menu option
|
||||||
if [ "${menuresult}" == "4" ]; then
|
if [ "${menuresult}" == "4" ]; then
|
||||||
setupPhase="${orgSetupPhase}"
|
setupPhase="${orgSetupPhase}"
|
||||||
# proceed with provision (mark Password A to be set)
|
# proceed with provision (mark Password A to be set)
|
||||||
@@ -163,7 +163,7 @@ if [ "${setupPhase}" == "setup" ]; then
|
|||||||
|
|
||||||
elif [ "${userChoice}" == "2" ]; then
|
elif [ "${userChoice}" == "2" ]; then
|
||||||
|
|
||||||
# KEEP BLOCKCHAIN + DLETE ALL THE REST
|
# KEEP BLOCKCHAIN + DELETE ALL THE REST
|
||||||
|
|
||||||
# when blockchain comes from another node migrate data first
|
# when blockchain comes from another node migrate data first
|
||||||
if [ "${hddGotMigrationData}" != "" ]; then
|
if [ "${hddGotMigrationData}" != "" ]; then
|
||||||
@@ -190,7 +190,7 @@ if [ "${setupPhase}" == "setup" ]; then
|
|||||||
sudo /home/admin/config.scripts/blitz.datadrive.sh unmount
|
sudo /home/admin/config.scripts/blitz.datadrive.sh unmount
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
# by keeping that blockchain - user choosed already the blockchain type
|
# by keeping that blockchain - user chose already the blockchain type
|
||||||
echo "Selecting as blockchain network automatically .."
|
echo "Selecting as blockchain network automatically .."
|
||||||
if [ "${hddBlocksLitecoin}" == "1" ]; then
|
if [ "${hddBlocksLitecoin}" == "1" ]; then
|
||||||
echo "network=litecoin" >> $SETUPFILE
|
echo "network=litecoin" >> $SETUPFILE
|
||||||
@@ -269,7 +269,7 @@ if [ "${setupPhase}" == "setup" ]; then
|
|||||||
dialogResult=$?
|
dialogResult=$?
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "FAIL: unkown lightning implementation (${lightning})"
|
echo "FAIL: unknown lightning implementation (${lightning})"
|
||||||
lightningWalletDone=1
|
lightningWalletDone=1
|
||||||
sleep 8
|
sleep 8
|
||||||
fi
|
fi
|
||||||
|
@@ -94,7 +94,7 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# UPLOAD LND RESCUE FILE dialog (if activated by dialogs above)
|
# UPLOAD CLN RESCUE FILE dialog (if activated by dialogs above)
|
||||||
if [ ${uploadRESCUE} -eq 1 ]; then
|
if [ ${uploadRESCUE} -eq 1 ]; then
|
||||||
|
|
||||||
# run upload dialog and get result
|
# run upload dialog and get result
|
||||||
@@ -114,7 +114,7 @@ if [ ${uploadRESCUE} -eq 1 ]; then
|
|||||||
sudo sed -i '/^clnrescue=/d' $SETUPFILE
|
sudo sed -i '/^clnrescue=/d' $SETUPFILE
|
||||||
|
|
||||||
# store result in setup state
|
# store result in setup state
|
||||||
echo "clnrescue='${lndrescue}'" >> $SETUPFILE
|
echo "clnrescue='${clnrescue}'" >> $SETUPFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# INPUT LIGHTNING SEED dialog (if activated by dialogs above)
|
# INPUT LIGHTNING SEED dialog (if activated by dialogs above)
|
||||||
|
Reference in New Issue
Block a user