mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
text cosmetics
This commit is contained in:
@@ -199,8 +199,8 @@ or having a complete LND rescue-backup from your old node.
|
|||||||
/home/admin/_cache.sh set message "LND Wallet (SEED)"
|
/home/admin/_cache.sh set message "LND Wallet (SEED)"
|
||||||
source <(/home/admin/config.scripts/lnd.initwallet.py seed "${chain}net" "${passwordC}" "${seedWords}" "${seedPassword}")
|
source <(/home/admin/config.scripts/lnd.initwallet.py seed "${chain}net" "${passwordC}" "${seedWords}" "${seedPassword}")
|
||||||
if [ "${err}" != "" ]; then
|
if [ "${err}" != "" ]; then
|
||||||
echo "lnd-wallet-seed" "lnd.initwallet.py seed returned error" "/home/admin/config.scripts/lnd.initwallet.py seed ${chain}net ... --> ${err} + ${errMore}"
|
echo "lnd-wallet-seed" "lnd.initwallet.py seed returned error" "/home/admin/config.scripts/lnd.initwallet.py seed ${chain}net ... --> ${err} + ${errMore}"
|
||||||
exit 12
|
exit 12
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -509,7 +509,7 @@ if [ ${mode} = "seed-import-gui" ]; then
|
|||||||
sudo chown admin:admin /var/cache/raspiblitz/.seed.tmp
|
sudo chown admin:admin /var/cache/raspiblitz/.seed.tmp
|
||||||
|
|
||||||
# dialog to enter
|
# dialog to enter
|
||||||
dialog --backtitle "RaspiBlitz - Seed Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by spaces, in correct order as numbered)" 9 78 2>/var/cache/raspiblitz/.seed.tmp
|
dialog --backtitle "RaspiBlitz - Recover from LND seed" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by spaces, in correct order as numbered)" 9 78 2>/var/cache/raspiblitz/.seed.tmp
|
||||||
wordstring=$(cat /var/cache/raspiblitz/.seed.tmp | sed 's/[^a-zA-Z0-9 ]//g')
|
wordstring=$(cat /var/cache/raspiblitz/.seed.tmp | sed 's/[^a-zA-Z0-9 ]//g')
|
||||||
sudo shred -u /var/cache/raspiblitz/.seed.tmp 2>/dev/null
|
sudo shred -u /var/cache/raspiblitz/.seed.tmp 2>/dev/null
|
||||||
echo "processing ..."
|
echo "processing ..."
|
||||||
@@ -548,8 +548,8 @@ Please check your list and try again.
|
|||||||
Best is to write words in external editor
|
Best is to write words in external editor
|
||||||
and then copy and paste them into dialog.
|
and then copy and paste them into dialog.
|
||||||
|
|
||||||
The Word list should look like this:
|
The word list should look like this:
|
||||||
wordone wordtweo wordthree ...
|
wordone wordtwo wordthree ...
|
||||||
|
|
||||||
" 16 52
|
" 16 52
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user