diff --git a/openwrt/package/dnsmasq/files/dnsmasq.init b/openwrt/package/dnsmasq/files/dnsmasq.init index 14fc698cff7e5fe3294b770c00cd22329916a4c4..cbbee02ce7b90df97edeee3eb725b80b6ce1817f 100644 --- a/openwrt/package/dnsmasq/files/dnsmasq.init +++ b/openwrt/package/dnsmasq/files/dnsmasq.init @@ -1,6 +1,6 @@ #!/bin/sh . /etc/functions.sh -include network +include /lib/network scan_interfaces # The following is to automatically configure the DHCP settings diff --git a/openwrt/package/iptables/files/firewall.init b/openwrt/package/iptables/files/firewall.init index ceaa68ac262575037ffff7bfe27e90fe8100e518..4acd325a994bf6f816cfe3424a8664e6eb2be8bc 100755 --- a/openwrt/package/iptables/files/firewall.init +++ b/openwrt/package/iptables/files/firewall.init @@ -4,7 +4,7 @@ ## Please make changes in /etc/firewall.user . /etc/functions.sh -include network +include /lib/network scan_interfaces config_get WAN wan ifname