#!/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' html_cat << EOF

$(lang de:"Starttyp von crond" en:"crond start type")

EOF sec_end sec_begin 'swap' html_cat << EOF

$(lang de:"Starttyp von swap" en:"swap start type")

Swap ($(lang de:"Beispiel:" en:"e.g.") /var/media/ftp/uStor01/swapfile $(lang de:"oder" en:"or") /dev/sda1)

Swap:

MB

EOF sec_end sec_begin 'telnetd' html_cat << EOF

$(lang de:"Starttyp von telnetd" en:"telnetd start type")

EOF if [ "true" == $inetd ]; then html_cat << EOF EOF fi html_cat << EOF

EOF sec_end sec_begin 'webcfg' html_cat << EOF

$(lang de:"Starttyp der Weboberfläche" en:"webinterface start type")

EOF if [ "true" == $inetd ]; then html_cat << EOF EOF fi html_cat << EOF

$(lang de:"Port der Weboberfläche" en:"Port of webinterface"):

$(lang de:"Erweiterte Einstellungen" en:"Advanced settings")

$(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