mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
30 lines
765 B
Bash
Executable File
30 lines
765 B
Bash
Executable File
#!/bin/sh
|
|
|
|
msg=""
|
|
msg="$msg Syncing is just practical for Bitcoin TESTNET!\n"
|
|
msg="$msg TESTNET is OK for learning, testing and development.\n"
|
|
msg="$msg MAINNET is where things get real and fun.\n"
|
|
msg="$msg \n"
|
|
msg="$msg Syncing MAINNET on a raspberry is NOT practical.\n"
|
|
msg="$msg If you want MAINET, go back & try DOWNLOAD.\n"
|
|
msg="$msg \n"
|
|
msg="$msg Do you really want to work with ONLY TESTNET?"
|
|
|
|
dialog --title " WARNING " --yesno "${msg}" 12 57
|
|
response=$?
|
|
case $response in
|
|
0) echo "--> OK";;
|
|
1) ./10setupBlitz.sh; exit 1;;
|
|
255) ./10setupBlitz.sh; exit 1;;
|
|
esac
|
|
|
|
echo "*** Activating Blockain Sync ***"
|
|
sudo mkdir /mnt/hdd/bitcoin
|
|
echo "OK - sync is activated"
|
|
|
|
# set SetupState
|
|
echo "50" > /home/admin/.setup
|
|
|
|
# continue setup
|
|
./60finishHDD.sh
|