Make variable accessible

This commit is contained in:
Bob Mottram 2018-05-05 15:48:51 +01:00
parent 95453f8205
commit 89e1f99244
1 changed files with 1 additions and 2 deletions

View File

@ -32,6 +32,7 @@ FIREWALL_CONFIG=$HOME/${PROJECT_NAME}-firewall.cfg
FIREWALL_DOMAINS=$HOME/${PROJECT_NAME}-firewall-domains.cfg FIREWALL_DOMAINS=$HOME/${PROJECT_NAME}-firewall-domains.cfg
FIREWALL_EIFACE=eth0 FIREWALL_EIFACE=eth0
EXTERNAL_IPV4_ADDRESS= EXTERNAL_IPV4_ADDRESS=
FIREFOX_TELEMETRY_IP='52.88.27.118'
function save_firewall_settings { function save_firewall_settings {
iptables-save > /etc/firewall.conf iptables-save > /etc/firewall.conf
@ -52,8 +53,6 @@ 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
FIREFOX_TELEMETRY_IP='52.88.27.118'
if grep "$FIREFOX_TELEMETRY_IP" /etc/firewall.conf; then if grep "$FIREFOX_TELEMETRY_IP" /etc/firewall.conf; then
return return
fi fi