mirror of
https://github.com/pi-hole/pi-hole
synced 2025-05-10 03:18:44 +00:00
Update to use new Var name
This commit is contained in:
parent
f8e9726922
commit
d7d6d6f991
@ -22,7 +22,7 @@ today=$(date "+%b %e")
|
|||||||
CalcBlockedDomains() {
|
CalcBlockedDomains() {
|
||||||
if [ -e "${gravity}" ]; then
|
if [ -e "${gravity}" ]; then
|
||||||
#Are we IPV6 or IPV4?
|
#Are we IPV6 or IPV4?
|
||||||
if [[ -n "${IPv6_address}" ]]; then
|
if [[ -n "${IPV6_ADDRESS}" ]]; then
|
||||||
#We are IPV6
|
#We are IPV6
|
||||||
blockedDomainsTotal=$(wc -l /etc/pihole/gravity.list | awk '{print $1/2}')
|
blockedDomainsTotal=$(wc -l /etc/pihole/gravity.list | awk '{print $1/2}')
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user