Browse Source

remove empty lines from file

v1.3
Christian Rotzoll 6 years ago
parent
commit
7ffb7263b6
  1. 1
      home.admin/config.scripts/internet.tor.sh

1
home.admin/config.scripts/internet.tor.sh

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

Loading…
Cancel
Save