Browse Source
Add Testnet support if we don't want to be #reckless
patch-1
nolim1t
5 years ago
No known key found for this signature in database
GPG Key ID: F6287B82CC84BCBD
1 changed files with
4 additions and
0 deletions
-
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" |
|
|
|
|
|
|
|