|
|
@ -1,5 +1,13 @@ |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
source /mnt/hdd/raspiblitz.conf |
|
|
|
if [ "${autoPilot}" = "on" ]; then |
|
|
|
echo "PRECHECK: You need to turn OFF the AutoPilot first," |
|
|
|
echo "so that closed channels are not opening up again." |
|
|
|
echo "You find the AutoPilot under the SERVICES section." |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
# load network and chain info |
|
|
|
network=`cat .network` |
|
|
|
chain=$(${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain') |
|
|
|