restart dnsmasq on webif network config update
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Nov 2005 22:25:57 +0000 (22:25 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 13 Nov 2005 22:25:57 +0000 (22:25 +0000)
SVN-Revision: 2474

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

index 46aede4ba05f2c30cbd163c223197630804b1889..fdcb4c324ae10b3d55ab82ffd7ffa21f13e0ca18 100644 (file)
@@ -20,11 +20,13 @@ reload_network() {
        grep '^wan_' config-network >&- 2>&- && {
                ifdown wan
                ifup wan
+               killall -HUP dnsmasq
        }
        
        grep '^lan_' config-network >&- 2>&- && {
                ifdown lan
                ifup lan
+               killall -HUP dnsmasq
        }
 }