text cosmetics

This commit is contained in:
openoms
2022-01-17 11:26:43 +00:00
parent 4b12010548
commit 66b6a32272
2 changed files with 5 additions and 5 deletions

View File

@@ -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