mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
Tor: look for the correct word when checking torrc
This commit is contained in:
parent
d3e1831c44
commit
45784b2b71
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||
sudo chown -R debian-tor:debian-tor /mnt/hdd/tor
|
||||
|
||||
# create tor config .. if not exists or is old
|
||||
isTorConfigOK=$(sudo cat /etc/tor/torrc 2>/dev/null | grep -c "BITCOIN")
|
||||
isTorConfigOK=$(sudo cat /etc/tor/torrc 2>/dev/null | grep -c "Bitcoin")
|
||||
if [ ${isTorConfigOK} -eq 0 ]; then
|
||||
echo "# - updating Tor config ${torrc}"
|
||||
cat > ./torrc <<EOF
|
||||
|
|
Loading…
Add table
Reference in a new issue