#!/bin/sh . /usr/lib/libmodcgi.sh [ -r /etc/options.cfg ] && . /etc/options.cfg check "$DNSMASQ_DHCP" yes:dhcp_yes "*":dhcp_no check "$DNSMASQ_BOGUSPRIV" yes:boguspriv check "$DNSMASQ_ETHERS" yes:ethers check "$DNSMASQ_DHCP_BOOT" yes:dhcp_boot_yes "*":dhcp_boot_no check "$DNSMASQ_STOP_DNS_REBIND" yes:stop_dns_rebind check "$DNSMASQ_TFTP" yes:tftp_yes "*":tftp_no check "$DNSMASQ_AVM_DNS" yes:avm_dns check "$DNSMASQ_WRAPPER" yes:wrapper check "$DNSMASQ_MULTID_RESTART" yes:multid_restart check "$DNSMASQ_LOG_QUERIES" yes:log_queries check "$DNSMASQ_DNSSEC" yes:dnssec sec_begin '$(lang de:"Starttyp" en:"Start type")' cgi_print_radiogroup_service_starttype "enabled" "$DNSMASQ_ENABLED" "" "" 0 cat << EOF
Port:
$(lang de:"Domain" en:"Domain"):
EOF
if [ "$FREETZ_PACKAGE_DNSMASQ_WITH_DNSSEC" = "y" ]; then
cat << EOF
EOF
fi
cat << EOF
$(lang de:"momentan: " en:"at the moment: ")
EOF
echo 'servercfg.dns1' | ar7cfgctl -s
cat << EOF
$(lang de:" und " en:" and ")
EOF
echo 'servercfg.dns2' | ar7cfgctl -s
cat << EOF
$(lang de:"zusätzlich diese Upstream Nameserver nutzen (durch Leerzeichen getrennt)" en:"Use these upstream nameservers additionally (separated by space)"):
$(lang de:"Optionen" en:"Options"):
EOF sec_end sec_begin '$(lang de:"DHCP Server" en:"DHCP server")' cat << EOF
($(lang de:"nur Einträge, die eine gültige IP und MAC aufweisen" en:"items with valid IP and MAC addresses only"))
$(lang de:"boot file" en:"boot file"):
EOF sec_end sec_begin '$(lang de:"TFTP Server" en:"TFTP server")' cat <$(lang de:"tftp root" en:"tftp root"):
EOF sec_end