dnsmasq: switch to /lib/functions/network.sh
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Dec 2013 16:47:41 +0000 (16:47 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Dec 2013 16:47:41 +0000 (16:47 +0000)
commit976f60887b236832b3b899be1eeb93639dbc4230
tree3902a313490f618cd112c19d84645f04bb5204fc
parentec907455d3be7ec0200e229b7a5a57e931b3c7cd
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