mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-24 00:00:14 +00:00
use pihole instead of direct path
This commit is contained in:
parent
41056ace02
commit
bbcf4800de
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ RemoveDomain(){
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
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
|
pihole -g
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue