mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-20 22:01:38 +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
|