mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
use pihole instead of direct path
This commit is contained in:
parent
41056ace02
commit
bbcf4800de
@ -99,6 +99,7 @@ RemoveDomain(){
|
||||
fi
|
||||
else
|
||||
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
||||
#reload gravity to pickup any entries this may have removed
|
||||
pihole -g
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user