remove ipv6 check since it's already in setupVars

This commit is contained in:
Jacob Salmela 2016-11-01 19:01:28 -05:00
parent d561600a31
commit 884363bd05
1 changed files with 0 additions and 8 deletions

View File

@ -61,14 +61,6 @@ CalcPercentBlockedToday() {
fi fi
} }
CheckIPv6() {
piholeIPv6file="/etc/pihole/.useIPv6"
if [[ -f ${piholeIPv6file} ]];then
# If the file exists, then the user previously chose to use IPv6 in the automated installer
piholeIPv6=$(ip -6 route get 2001:4860:4860::8888 | awk -F " " '{ for(i=1;i<=NF;i++) if ($i == "src") print $(i+1) }')
fi
}
outputJSON() { outputJSON() {
CalcQueriesToday CalcQueriesToday
CalcblockedToday CalcblockedToday