#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh . /usr/lib/libmodfrm.sh [ -r /mod/etc/conf/mod.cfg ] && . /mod/etc/conf/mod.cfg inetd='' [ -e /etc/default.inetd/inetd.cfg ] && inetd='true' crond_auto_chk=''; crond_man_chk='' swap_auto_chk=''; swap_man_chk='' telnetd_auto_chk=''; telnetd_man_chk=''; telnet_inetd_chk=''; httpd_auto_chk=''; httpd_man_chk=''; httpd_inetd_chk=''; mounted_main_chk='';mounted_sub_chk=''; if [ "$MOD_MOUNTED_MAIN" = "yes" ]; then mounted_main_chk=' checked'; fi if [ "$MOD_MOUNTED_SUB" = "yes" ]; then mounted_sub_chk=' checked'; fi if [ "$MOD_CROND" = "yes" ]; then crond_auto_chk=' checked'; else crond_man_chk=' checked'; fi if [ "$MOD_SWAP" = "yes" ]; then swap_auto_chk=' checked'; else swap_man_chk=' checked'; fi case "$MOD_TELNETD" in yes) telnetd_auto_chk=' checked';; inetd) telnetd_inetd_chk=' checked';; *) telnetd_man_chk=' checked';; esac case "$MOD_HTTPD" in yes) httpd_auto_chk=' checked';; inetd) httpd_inetd_chk=' checked';; *) httpd_man_chk=' checked';; esac cgi_begin '$(lang de:"Einstellungen" en:"Settings")' 'settings' frm_begin 'mod' sec_begin 'crond' cat << EOF
EOF sec_end sec_begin 'swap' cat << EOF
Swap:
MB
EOF sec_end sec_begin 'telnetd' cat << EOFEOF if [ "true" == $inetd ]; then cat << EOF EOF fi cat << EOF
EOF sec_end sec_begin 'webcfg' cat << EOFEOF if [ "true" == $inetd ]; then cat << EOF EOF fi cat << EOF
$(lang de:"Benutzername für Weboberfläche" en:"username for webinterface"): $(lang de:"Passwort ändern" en:"change password")
$(lang de:"Port der Weboberfläche" en:"Port of webinterface"):
$(lang de:"Gemountete Partitionen auf" en:"Mounted partitions on"):
$(lang de:"Breite des Freetz-Webinterfaces" en:"Width of the Freetz webinterface"):
EOF sec_end frm_end 'mod' cgi_end