6 lines
139 B
Plaintext
6 lines
139 B
Plaintext
|
#!/bin/sh
|
||
|
# Make dnsmasq reread hostfile
|
||
|
|
||
|
pid=$(pidof dnsmasq)
|
||
|
[ "$(readlink /proc/$pid/exe)" = "/usr/sbin/dnsmasq" ] && kill -SIGHUP $pid
|