From d1a067c5cad7f23bc2ec1edc2638d63e45ec60f0 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Tue, 16 Apr 2019 04:16:44 +0100 Subject: [PATCH] temp file --- home.admin/70initLND.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/home.admin/70initLND.sh b/home.admin/70initLND.sh index 2645f70..478f082 100755 --- a/home.admin/70initLND.sh +++ b/home.admin/70initLND.sh @@ -209,10 +209,9 @@ if [ ${walletExists} -eq 0 ]; then if [ "${CHOICE}" == "SEED_SCB" ]; then # dialog to enter - $_temp="/home/admin/.seed.tmp" - dialog --backtitle "RaspiBlitz - LND Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by commas, in correct order as numbered)" 9 78 2>$_temp - wordstring=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' ) - shred $_temp + dialog --backtitle "RaspiBlitz - LND Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by commas, in correct order as numbered)" 9 78 2>/home/admin/.seed.tmp + wordstring=$( cat /home/admin/.seed.tmp | tr -dc '[:alnum:]-.' | tr -d ' ' ) + shred /home/admin/.seed.tmp echo "processing ... ${wordstring}" # remove spaces