dnsmasq: switch to /lib/functions/network.sh
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 16 Dec 2013 16:47:41 +0000 (16:47 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 16 Dec 2013 16:47:41 +0000 (16:47 +0000)
commit0005aadc83f989408e83c43fcacad3eec97ae64b
tree3902a313490f618cd112c19d84645f04bb5204fc
parent4ce04ce60f45605f755372ee287ce2f3eb2d9193
dnsmasq: switch to /lib/functions/network.sh

This commit changes the dnsmasq init script to use the interface
status exposed by netifd. The old references to scan_interfaces()
and (indirect) accesses to uci state variables are removed and
replaced with corresponding network_*() calls.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39101 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/dnsmasq/files/dnsmasq.init