Files
openwrt_NSS_ACW/package/network/services/odhcpd/files/odhcpd-update
Steven Barth 684537f3e7 odhcpd: several bugfixes and improved integration
SVN-Revision: 39308
2014-01-17 13:59:51 +00:00

6 lines
139 B
Bash
Executable File

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