diff --git a/openwrt/package/dnsmasq/files/dnsmasq.init b/openwrt/package/dnsmasq/files/dnsmasq.init index 14fc698cff..cbbee02ce7 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 ceaa68ac26..4acd325a99 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