mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
efce764f0e
- cache udhcp check results to speed up subsequent reloads - enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed - implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed - launch dnsmasq from interface hotplug to avoid race conditions with network bringup Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 39152
6 lines
100 B
Bash
6 lines
100 B
Bash
#!/bin/sh
|
|
|
|
[ "$ACTION" = ifup ] || exit 0
|
|
|
|
/etc/init.d/dnsmasq enabled && /etc/init.d/dnsmasq start
|