Make variable accessible
This commit is contained in:
parent
95453f8205
commit
89e1f99244
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue