mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
added autopilot precheck
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user