Browse Source

allow spaces

master
Christian Rotzoll 6 years ago
parent
commit
97d4f59df9
  1. 2
      home.admin/70initLND.sh

2
home.admin/70initLND.sh

@ -276,7 +276,7 @@ or having a complete LND rescue-backup from your old node.
do
# dialog to enter
dialog --backtitle "RaspiBlitz - LND Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by spaces, in correct order as numbered)" 9 78 2>/home/admin/.seed.tmp
wordstring=$( cat /home/admin/.seed.tmp | sed 's/[^a-zA-Z0-9,]//g' )
wordstring=$( cat /home/admin/.seed.tmp | sed 's/[^a-zA-Z0-9 ]//g' )
shred /home/admin/.seed.tmp
echo "processing ... ${wordstring}"

Loading…
Cancel
Save