e17cd0bfff6bfbc3fcf474e8ea2275c043dcdc75
[openwrt-github/.git] / odhcpd-update
1 #!/bin/sh
2 # Make dnsmasq reread hostfile
3
4 pid=$(pidof dnsmasq)
5 [ "$(readlink /proc/$pid/exe)" = "/usr/sbin/dnsmasq" ] && kill -SIGHUP $pid