Add etherhosts as combination of luci_ethers and luci_hosts
[project/luci.git] / modules / admin-core / root / etc / init.d / luci_ethers
index fb1deb2..188c01c 100755 (executable)
@@ -23,7 +23,9 @@ start() {
        echo "# This file is autogenerated, use /etc/ethers.local instead" > /var/etc/ethers
 
        config_load luci_ethers
+       config_load luci_etherhosts
        config_foreach apply_lease static_lease
+       config_foreach apply_lease entry
 
        test -f /etc/ethers.local && cat /etc/ethers.local >> /var/etc/ethers