BT
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
configure-box.sh
|
@ -28,8 +28,9 @@ sed -i "s/RPCPASS/${RPCPASS}/g; " lnd/lnd.conf |
|
|
echo "Configuring docker-compose file" |
|
|
echo "Configuring docker-compose file" |
|
|
sed -i "s/RPCPASS/${RPCPASS}/g; " docker-compose.yml |
|
|
sed -i "s/RPCPASS/${RPCPASS}/g; " docker-compose.yml |
|
|
if [ ! -z $TESTNET ]; then |
|
|
if [ ! -z $TESTNET ]; then |
|
|
echo "Enabling testnet if TESTNET variable is set" |
|
|
echo "Enabling testnet mode if TESTNET variable is set" |
|
|
echo "testnet=1" >> bitcoin/bitcoin.conf |
|
|
sed -i '/[test]/s/^#//g' bitcoin/bitcoin.conf |
|
|
|
|
|
sed -i '/testnet=1/s/^#//g' bitcoin/bitcoin.conf |
|
|
fi |
|
|
fi |
|
|
rm configure-box.sh |
|
|
rm configure-box.sh |
|
|
echo "Box Configuration complete" |
|
|
echo "Box Configuration complete" |
|
|