remove ipv6 check since it's already in setupVars

pull/891/head
Jacob Salmela 8 years ago
parent d561600a31
commit 884363bd05

@ -61,14 +61,6 @@ CalcPercentBlockedToday() {
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() {
CalcQueriesToday
CalcblockedToday

Loading…
Cancel
Save