#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh auto_chk=''; man_chk=''; inetd_chk='' anonym_chk='';users_enabled_chk='';chroot_chk='';root_chk='';ftpuser_chk='' log_enable_chk='';log_protoc_chk='';log_syslog_yes='';log_syslog_no='' promiscuous_chk='' case "$VSFTPD_ENABLED" in yes) auto_chk=' checked';; inetd) inetd_chk=' checked';; *) man_chk=' checked';;esac if [ "$VSFTPD_ANONYMOUS" = "yes" ]; then anonym_chk=' checked'; fi if [ "$VSFTPD_USERS_ENABLED" = "yes" ]; then users_enabled_chk=' checked'; fi if [ "$VSFTPD_CHROOT" = "yes" ]; then chroot_chk=' checked'; fi if [ "$VSFTPD_ALLOW_ROOT" = "yes" ]; then root_chk=' checked'; fi if [ "$VSFTPD_ALLOW_FTPUSER" = "yes" ]; then ftpuser_chk=' checked'; fi if [ "$VSFTPD_PROMISCUOUS" = "yes" ]; then promiscuous_chk=' checked'; fi if [ "$VSFTPD_LOG_ENABLE" = "yes" ]; then log_enable_chk=' checked'; fi if [ "$VSFTPD_LOG_PROTOC" = "yes" ]; then log_protoc_chk=' checked'; fi if [ "$VSFTPD_LOG_SYSLOG" = "yes" ]; then log_syslog_yes=' checked'; else log_syslog_no=' checked'; fi sec_begin '$(lang de:"Starttyp" en:"Start type")' cat << EOF

EOF if [ -e "/etc/default.inetd/inetd.cfg" ]; then cat << EOF EOF fi cat << EOF

EOF sec_end if [ "$VSFTPD_LOG_SYSLOG" != "yes" ]; then sec_begin '$(lang de:"Anzeigen" en:"Show")' cat << EOF EOF sec_end fi sec_begin '$(lang de:"FTP Server" en:"FTP server")' cat << EOF

$(lang de:"Server binden an Port" en:"Listen on port"):

EOF sec_end sec_begin '$(lang de:"Zugriff" en:"Access")' cat << EOF

$(lang de:"Das Passwort für den Benutzer 'ftp' kann mit dem Kommando 'passwd ftp' festgelegt und mit 'modusers save; modsave flash' persistent gespeichert werden." en:"The password for the user 'ftp' can be set by using the command 'passwd ftp' and subsequently saved persistently by 'modusers save; modsave flash'.")

EOF sec_end sec_begin '$(lang de:"Erweiterte Einstellungen" en:"Advanced Options")' cat << EOF

$(lang de:"Anzahl Verbindungen" en:"Maximum connections"):    

$(lang de:"Passive Ports" en:"Passive ports"):    

$(lang de:"Pause nach fehlerhaftem Login in Sekunden:" en:"Delay after failed login in sec:"):

EOF sec_end sec_begin '$(lang de:"Logging" en:"Logging")' cat << EOF



EOF sec_end