mirror of
https://github.com/moparisthebest/pi-hole
synced 2024-12-22 15:18:50 -05:00
Merge pull request #136 from klaas01/patch-2
Fix kill command to re-read hosts file
This commit is contained in:
commit
94f7363b8f
@ -239,8 +239,13 @@ function gravity_advanced() {
|
|||||||
echo "** $numberOf domains being pulled in by gravity..."
|
echo "** $numberOf domains being pulled in by gravity..."
|
||||||
|
|
||||||
gravity_unique
|
gravity_unique
|
||||||
|
}
|
||||||
|
|
||||||
sudo kill -s -HUP $(pidof dnsmasq)
|
function gravity_reload() {
|
||||||
|
# Reload hosts file
|
||||||
|
|
||||||
|
echo "** Refresh lists in dnsmasq..."
|
||||||
|
sudo kill -HUP $(pidof dnsmasq)
|
||||||
}
|
}
|
||||||
|
|
||||||
gravity_collapse
|
gravity_collapse
|
||||||
@ -250,3 +255,4 @@ gravity_pulsar
|
|||||||
gravity_advanced
|
gravity_advanced
|
||||||
gravity_hostFormat
|
gravity_hostFormat
|
||||||
gravity_blackbody
|
gravity_blackbody
|
||||||
|
gravity_reload
|
||||||
|
Loading…
Reference in New Issue
Block a user