#!/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='' telnetd_auto_chk=''; telnetd_man_chk=''; telnet_inetd_chk=''; httpd_auto_chk=''; httpd_man_chk=''; httpd_inetd_chk=''; if [ "$MOD_CROND" = "yes" ]; then crond_auto_chk=' checked'; else crond_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

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

EOF sec_end sec_begin 'telnetd' cat << EOF

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

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

EOF sec_end sec_begin 'webcfg' cat << EOF

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

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

$(lang de:"Port der Weboberfläche (erfordert Neustart)" en:"Port of webinterface (restart required)")

Port:

EOF sec_end frm_end 'mod' cgi_end