Browse Source

#592 fixing Tor during setup

v1.3
Christian Rotzoll 5 years ago
parent
commit
36575c223e
  1. 4
      home.admin/config.scripts/internet.tor.sh

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

@ -106,6 +106,7 @@ activateBitcoinOverTOR()
fi
sudo chmod 444 /home/bitcoin/.${network}/${network}.conf
# copy new bitcoin.conf to admin user for cli access
sudo cp /home/bitcoin/.${network}/${network}.conf /home/admin/.${network}/${network}.conf
sudo chown admin:admin /home/admin/.${network}/${network}.conf
@ -171,7 +172,8 @@ if [ ${#network} -eq 0 ]; then
fi
# add default value to raspi config if needed
if [ ${#runBehindTor} -eq 0 ]; then
checkTorEntry=$(sudo cat /mnt/hdd/raspiblitz.conf | grep -c "runBehindTor")
if [ ${checkTorEntry} -eq 0 ]; then
echo "runBehindTor=off" >> /mnt/hdd/raspiblitz.conf
fi

Loading…
Cancel
Save