restart dnsmasq when lan settings change
authorFelix Fietkau <[email protected]>
Fri, 17 Feb 2006 08:20:34 +0000 (08:20 +0000)
committerFelix Fietkau <[email protected]>
Fri, 17 Feb 2006 08:20:34 +0000 (08:20 +0000)
SVN-Revision: 3248

openwrt/package/webif/files/usr/lib/webif/apply.sh

index 1a908cd77e0c999161eb2fb7c5c3d24588fc6939..04ad9c6e17638007247d6c62abcba7f99a0ac3f8 100644 (file)
@@ -26,7 +26,8 @@ reload_network() {
        grep '^lan_' config-network >&- 2>&- && {
                ifdown lan
                ifup lan
-               killall -HUP dnsmasq
+               killall dnsmasq
+               /etc/init.d/S??dnsmasq
        }
 }