mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
5 lines
139 B
Bash
Executable file
5 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
|