mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-08 20:09:03 +02:00
remove while
This commit is contained in:
@@ -207,14 +207,10 @@ if [ ${walletExists} -eq 0 ]; then
|
|||||||
echo "choice($CHOICE)"
|
echo "choice($CHOICE)"
|
||||||
|
|
||||||
if [ "${CHOICE}" == "ONLYSEED" ] || [ "${CHOICE}" == "SEED+SCB" ]; then
|
if [ "${CHOICE}" == "ONLYSEED" ] || [ "${CHOICE}" == "SEED+SCB" ]; then
|
||||||
# enter SEED words
|
echo "ENTER SEED"
|
||||||
wordstring=""
|
|
||||||
while [ ${#wordstring} -eq 0 ]
|
|
||||||
do
|
|
||||||
|
|
||||||
# dialog to enter
|
# dialog to enter
|
||||||
#$_temp="/home/admin/.seed.tmp"
|
#$_temp="/home/admin/.seed.tmp"
|
||||||
wordstring=$(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)
|
wordstring=$(whiptail --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)
|
||||||
#wordstring=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' )
|
#wordstring=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' )
|
||||||
#shred $_temp
|
#shred $_temp
|
||||||
echo "processing ..."
|
echo "processing ..."
|
||||||
@@ -234,8 +230,7 @@ if [ ${walletExists} -eq 0 ]; then
|
|||||||
wordstring=""
|
wordstring=""
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
sleep 3
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${CHOICE}" == "ONLYSEED" ]; then
|
if [ "${CHOICE}" == "ONLYSEED" ]; then
|
||||||
|
Reference in New Issue
Block a user