insert section configs
This commit is contained in:
parent
1f1ef6152a
commit
aaa7e42231
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ if [ $ENABLE_RPC == 1 ]
|
||||||
then
|
then
|
||||||
echo "server=1" >> /btc.conf
|
echo "server=1" >> /btc.conf
|
||||||
echo "rpcport=8332" >> /btc.conf
|
echo "rpcport=8332" >> /btc.conf
|
||||||
|
if [ $REGTEST == 1 ]
|
||||||
|
then
|
||||||
|
echo "[regtest]" >> /btc.conf
|
||||||
|
fi
|
||||||
echo "rpcbind=0.0.0.0:8332" >> /btc.conf
|
echo "rpcbind=0.0.0.0:8332" >> /btc.conf
|
||||||
echo "rpcallowip=0.0.0.0" >> /btc.conf
|
echo "rpcallowip=0.0.0.0" >> /btc.conf
|
||||||
if [ $ENABLE_AUTH == 1 ]
|
if [ $ENABLE_AUTH == 1 ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue