diff --git a/configure-box.sh b/configure-box.sh index eb669be..fa219b7 100755 --- a/configure-box.sh +++ b/configure-box.sh @@ -27,6 +27,10 @@ echo "Configuring invoicer rpc info" sed -i "s/RPCPASS/${RPCPASS}/g; " invoicer/invoicer.conf echo "Configuring LND rpc info" sed -i "s/RPCPASS/${RPCPASS}/g; " lnd/lnd.conf +if [ ! -z $TESTNET ]; then + echo "Enabling testnet if TESTNET variable is set" + echo "testnet=1" >> bitcoin.conf +fi rm configure-box.sh echo "Box Configuration complete"