Update whitelist.sh

Change piholeIPfile to a permanent location.
This commit is contained in:
Jim Liu 2016-04-22 01:41:11 +08:00
parent 08e95ed606
commit 10066209e7

View file

@ -42,7 +42,7 @@ verbose=true
domList=()
domToRemoveList=()
piholeIPfile=/tmp/piholeIP
piholeIPfile=/etc/pihole/piholeIP
piholeIPv6file=/etc/pihole/.useIPv6
if [[ -f $piholeIPfile ]];then