Skip to content
Snippets Groups Projects
Commit 743cd8dd authored by Bob Mottram's avatar Bob Mottram
Browse files

quiet

parent c8fe0145
No related branches found
No related tags found
No related merge requests found
...@@ -53,12 +53,12 @@ function block_firefox_telemetry { ...@@ -53,12 +53,12 @@ function block_firefox_telemetry {
# to be on the safe side # to be on the safe side
# Within firefox source code see submit_telemetry_data.py # Within firefox source code see submit_telemetry_data.py
if ! grep 'telemetry.mozilla' /etc/hosts; then if ! grep -q 'telemetry.mozilla' /etc/hosts; then
echo '127.0.0.1 telemetry.mozilla.org' >> /etc/hosts echo '127.0.0.1 telemetry.mozilla.org' >> /etc/hosts
echo '127.0.0.1 incoming.telemetry.mozilla.org' >> /etc/hosts echo '127.0.0.1 incoming.telemetry.mozilla.org' >> /etc/hosts
fi fi
if grep "$FIREFOX_TELEMETRY_IP" /etc/firewall.conf; then if grep -q "$FIREFOX_TELEMETRY_IP" /etc/firewall.conf; then
return return
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment