#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh auto_chk=''; man_chk='' if [ "$INADYN_ENABLED" = "yes" ]; then auto_chk=' checked'; else man_chk=' checked'; fi for i in 0 1 2 3 4 do set active_chk$i = '' set dyndns_sel$i = '' set dstatdns_sel$i = '' set dcustom_sel$i = '' set afraid_sel$i = '' set zoneedit_sel$i = '' set noip_sel$i = '' set userdef_sel$i = '' for j in 0 1 2 3 4 5 do set verbose_sel$i$j = '' done done if [ "$INADYN_ACTIVE0" = "yes" ]; then active_chk0=' checked'; fi if [ "$INADYN_ACTIVE1" = "yes" ]; then active_chk1=' checked'; fi if [ "$INADYN_ACTIVE2" = "yes" ]; then active_chk2=' checked'; fi if [ "$INADYN_ACTIVE3" = "yes" ]; then active_chk3=' checked'; fi if [ "$INADYN_ACTIVE4" = "yes" ]; then active_chk4=' checked'; fi case "$INADYN_SERVICE0" in dyndns.org) dyndns_sel0=' selected' ;; dyndns.org-statdns) dstatdns_sel0=' selected' ;; dyndns.org-custom) dcustom_sel0=' selected' ;; afraid.org) afraid_sel0=' selected' ;; zoneedit.com) zoneedit_sel0=' selected' ;; no-ip.com) noip_sel0=' selected' ;; benutzerdefiniert) userdef_sel0=' selected' ;; esac case "$INADYN_SERVICE1" in dyndns.org) dyndns_sel1=' selected' ;; dyndns.org-statdns) dstatdns_sel1=' selected' ;; dyndns.org-custom) dcustom_sel1=' selected' ;; afraid.org) afraid_sel1=' selected' ;; zoneedit.com) zoneedit_sel1=' selected' ;; no-ip.com) noip_sel1=' selected' ;; benutzerdefiniert) userdef_sel1=' selected' ;; esac case "$INADYN_SERVICE2" in dyndns.org) dyndns_sel2=' selected' ;; dyndns.org-statdns) dstatdns_sel2=' selected' ;; dyndns.org-custom) dcustom_sel2=' selected' ;; afraid.org) afraid_sel2=' selected' ;; zoneedit.com) zoneedit_sel2=' selected' ;; no-ip.com) noip_sel2=' selected' ;; benutzerdefiniert) userdef_sel2=' selected' ;; esac case "$INADYN_SERVICE3" in dyndns.org) dyndns_sel3=' selected' ;; dyndns.org-statdns) dstatdns_sel3=' selected' ;; dyndns.org-custom) dcustom_sel3=' selected' ;; afraid.org) afraid_sel3=' selected' ;; zoneedit.com) zoneedit_sel3=' selected' ;; no-ip.com) noip_sel3=' selected' ;; benutzerdefiniert) userdef_sel3=' selected' ;; esac case "$INADYN_SERVICE4" in dyndns.org) dyndns_sel4=' selected' ;; dyndns.org-statdns) dstatdns_sel4=' selected' ;; dyndns.org-custom) dcustom_sel4=' selected' ;; afraid.org) afraid_sel4=' selected' ;; zoneedit.com) zoneedit_sel4=' selected' ;; no-ip.com) noip_sel4=' selected' ;; benutzerdefiniert) userdef_sel4=' selected' ;; esac case "$INADYN_VERBOSE0" in 0) verbose_sel00=' selected' ;; 1) verbose_sel01=' selected' ;; 2) verbose_sel02=' selected' ;; 3) verbose_sel03=' selected' ;; 4) verbose_sel04=' selected' ;; 5) verbose_sel05=' selected' ;; esac case "$INADYN_VERBOSE1" in 0) verbose_sel10=' selected' ;; 1) verbose_sel11=' selected' ;; 2) verbose_sel12=' selected' ;; 3) verbose_sel13=' selected' ;; 4) verbose_sel14=' selected' ;; 5) verbose_sel15=' selected' ;; esac case "$INADYN_VERBOSE2" in 0) verbose_sel20=' selected' ;; 1) verbose_sel21=' selected' ;; 2) verbose_sel22=' selected' ;; 3) verbose_sel23=' selected' ;; 4) verbose_sel24=' selected' ;; 5) verbose_sel25=' selected' ;; esac case "$INADYN_VERBOSE3" in 0) verbose_sel30=' selected' ;; 1) verbose_sel31=' selected' ;; 2) verbose_sel32=' selected' ;; 3) verbose_sel33=' selected' ;; 4) verbose_sel34=' selected' ;; 5) verbose_sel35=' selected' ;; esac case "$INADYN_VERBOSE4" in 0) verbose_sel40=' selected' ;; 1) verbose_sel41=' selected' ;; 2) verbose_sel42=' selected' ;; 3) verbose_sel43=' selected' ;; 4) verbose_sel44=' selected' ;; 5) verbose_sel45=' selected' ;; esac sec_begin 'Starttyp' cat << EOF
EOF sec_end sec_begin 'Inadyn-Daemon' cat << EOF EOF sec_end