mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
684537f3e7
SVN-Revision: 39308
6 lines
139 B
Bash
Executable File
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
|