insert section configs

This commit is contained in:
zontreck 2025-02-10 02:50:28 -07:00
parent 1f1ef6152a
commit aaa7e42231

View file

@ -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 ]