mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 06:07:47 +02:00
made FTP default
This commit is contained in:
@@ -65,8 +65,8 @@ if [ ${mountOK} -eq 1 ]; then
|
|||||||
echo "Bitcoin Options"
|
echo "Bitcoin Options"
|
||||||
menuitem=$(dialog --clear --beep --backtitle "RaspiBlitz" --title "Getting the Blockchain" \
|
menuitem=$(dialog --clear --beep --backtitle "RaspiBlitz" --title "Getting the Blockchain" \
|
||||||
--menu "You need a copy of the Bitcoin Blockchain - you have 3 options:" 13 75 4 \
|
--menu "You need a copy of the Bitcoin Blockchain - you have 3 options:" 13 75 4 \
|
||||||
T "TORRENT --> TESTNET + MAINNET thru Torrent (DEFAULT)" \
|
D "DOWNLOAD --> TESTNET + MAINNET per FTP (DEFAULT)" \
|
||||||
D "DOWNLOAD --> TESTNET + MAINNET per FTP (FALLBACK)" \
|
T "TORRENT --> TESTNET + MAINNET thru Torrent (FALLBACK)" \
|
||||||
C "COPY --> TESTNET + MAINNET from another HDD (TRICKY+FAST)" \
|
C "COPY --> TESTNET + MAINNET from another HDD (TRICKY+FAST)" \
|
||||||
S "SYNC --> JUST TESTNET thru Bitoin Network (FALLBACK+SLOW)" 2>&1 >/dev/tty)
|
S "SYNC --> JUST TESTNET thru Bitoin Network (FALLBACK+SLOW)" 2>&1 >/dev/tty)
|
||||||
|
|
||||||
@@ -75,8 +75,8 @@ if [ ${mountOK} -eq 1 ]; then
|
|||||||
echo "Litecoin Options"
|
echo "Litecoin Options"
|
||||||
menuitem=$(dialog --clear --beep --backtitle "RaspiBlitz" --title "Getting the Blockchain" \
|
menuitem=$(dialog --clear --beep --backtitle "RaspiBlitz" --title "Getting the Blockchain" \
|
||||||
--menu "You need a copy of the Litecoin Blockchain - you have 3 options:" 13 75 4 \
|
--menu "You need a copy of the Litecoin Blockchain - you have 3 options:" 13 75 4 \
|
||||||
T "TORRENT --> MAINNET thru Torrent (DEFAULT)" \
|
D "DOWNLOAD --> MAINNET per FTP (DEFAULT)" \
|
||||||
D "DOWNLOAD --> MAINNET per FTP (FALLBACK)" \
|
T "TORRENT --> MAINNET thru Torrent (FALLBACK)" \
|
||||||
C "COPY --> MAINNET from another HDD (TRICKY+FAST)" \
|
C "COPY --> MAINNET from another HDD (TRICKY+FAST)" \
|
||||||
S "SYNC --> MAINNET thru Litecoin Network (FALLBACK+SLOW)" 2>&1 >/dev/tty)
|
S "SYNC --> MAINNET thru Litecoin Network (FALLBACK+SLOW)" 2>&1 >/dev/tty)
|
||||||
|
|
||||||
|
@@ -152,7 +152,7 @@ if [ ${finalSize} -lt ${targetSize} ]; then
|
|||||||
# Download failed
|
# Download failed
|
||||||
sleep 3
|
sleep 3
|
||||||
echo -ne '\007'
|
echo -ne '\007'
|
||||||
dialog --title " WARNING " --yesno "The download failed or is not complete. Maybe try again (later). Do you want keep already downloaded data for next try?" 6 57
|
dialog --title " WARNING " --yesno "The download failed or is not complete. Maybe try again (later). Do you want keep already downloaded data for next try?" 8 57
|
||||||
response=$?
|
response=$?
|
||||||
case $response in
|
case $response in
|
||||||
1) sudo rm -rf ${targetDir}${targetPath} ;;
|
1) sudo rm -rf ${targetDir}${targetPath} ;;
|
||||||
|
Reference in New Issue
Block a user