|
|
@ -271,6 +271,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then |
|
|
|
echo "*** Changing ${network} Config ***" |
|
|
|
sudo sed -i "s/^onlynet=.*//g" /home/bitcoin/.${network}/${network}.conf |
|
|
|
sudo sed -i "s/^addnode=.*//g" /home/bitcoin/.${network}/${network}.conf |
|
|
|
sudo sed -i '/^ *$/d' /home/bitcoin/.${network}/${network}.conf |
|
|
|
sudo cp /home/bitcoin/.${network}/${network}.conf /home/admin/.${network}/${network}.conf |
|
|
|
sudo chown admin:admin /home/admin/.${network}/${network}.conf |
|
|
|
echo "" |
|
|
|