Additional firefox telemetry blocking
This commit is contained in:
parent
fa3726b5f9
commit
c8fe0145a1
|
@ -53,6 +53,11 @@ 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
|
||||||
|
echo '127.0.0.1 telemetry.mozilla.org' >> /etc/hosts
|
||||||
|
echo '127.0.0.1 incoming.telemetry.mozilla.org' >> /etc/hosts
|
||||||
|
fi
|
||||||
|
|
||||||
if grep "$FIREFOX_TELEMETRY_IP" /etc/firewall.conf; then
|
if grep "$FIREFOX_TELEMETRY_IP" /etc/firewall.conf; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue