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

Make variable accessible

parent 95453f82
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ FIREWALL_CONFIG=$HOME/${PROJECT_NAME}-firewall.cfg
FIREWALL_DOMAINS=$HOME/${PROJECT_NAME}-firewall-domains.cfg
FIREWALL_EIFACE=eth0
EXTERNAL_IPV4_ADDRESS=
FIREFOX_TELEMETRY_IP='52.88.27.118'
function save_firewall_settings {
iptables-save > /etc/firewall.conf
......@@ -52,8 +53,6 @@ function block_firefox_telemetry {
# to be on the safe side
# Within firefox source code see submit_telemetry_data.py
FIREFOX_TELEMETRY_IP='52.88.27.118'
if grep "$FIREFOX_TELEMETRY_IP" /etc/firewall.conf; then
return
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