Browse Source

added autopilot precheck

#146
rootzoll 6 years ago
parent
commit
be2f161db2
  1. 8
      home.admin/BBcloseAllChannels.sh

8
home.admin/BBcloseAllChannels.sh

@ -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')

Loading…
Cancel
Save