package/dnsmasq: add max_ttl/min_cache_ttl/max_cache_ttl
[openwrt/staging/dedeckeh.git] / package / network / services / dnsmasq / files / dnsmasq.init
index 4ae71e438bec8faa428edaa6af625f1ebf0c3f50..93a8f9a108092bba17fbbae90c9dfaf02478fcc1 100644 (file)
@@ -860,6 +860,9 @@ dnsmasq_start()
        append_parm "$cfg" "tftp_root" "--tftp-root"
        append_parm "$cfg" "dhcp_boot" "--dhcp-boot"
        append_parm "$cfg" "local_ttl" "--local-ttl"
+       append_parm "$cfg" "max_ttl" "--max-ttl"
+       append_parm "$cfg" "min_cache_ttl" "--min-cache-ttl"
+       append_parm "$cfg" "max_cache_ttl" "--max-cache-ttl"
        append_parm "$cfg" "pxe_prompt" "--pxe-prompt"
        config_list_foreach "$cfg" "pxe_service" append_pxe_service
        config_get DOMAIN "$cfg" domain