add CLN repair menu to repair

This commit is contained in:
rootzoll 2021-09-06 21:45:16 +02:00
parent 9196e041eb
commit ff0f09a9ef

View File

@ -53,6 +53,9 @@ if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then
OPTIONS+=(BACKUP-LND "Backup your LND data (Rescue-File)")
OPTIONS+=(RESET-LND "Delete LND & start new node/wallet")
fi
if [ "${lightning}" == "cln" ] || [ "${cln}" == "on" ]; then
OPTIONS+=(REPAIR-CLN "Repair/Backup C-Lightning")
fi
OPTIONS+=(MIGRATION "Migrate Blitz Data to new Hardware")
OPTIONS+=(COPY-SOURCE "Copy Blockchain Source Modus")
OPTIONS+=(RESET-CHAIN "Delete Blockchain & Re-Download")
@ -79,6 +82,12 @@ case $CHOICE in
read key
/home/admin/config.scripts/blitz.shutdown.sh
;;
REPAIR-CLN)
sudo /home/admin/99clnRepairMenu.sh
echo
echo "Press ENTER to return to main menu."
read key
;;
MIGRATION)
sudo /home/admin/config.scripts/blitz.migration.sh "export-gui"
echo "Press ENTER to return to main menu."