#!/bin/sh if $(echo "$QUERY_STRING" | grep -q dogencert ); then sh /etc/default.shellinabox/generate_cert.sh echo '' echo '' rm /tmp/shellinabox_certificate.pem exit fi . /usr/lib/libmodcgi.sh [ -r /etc/options.cfg ] && . /etc/options.cfg check "$SHELLINABOX_ENABLED" yes:auto "*":man check "$SHELLINABOX_NOSSL" true:ssldis if [ "$SHELLINABOX_NOSSL" = true -o "$FREETZ_PACKAGE_SHELLINABOX_SSL" != "y" ]; then displayssl="none" else displayssl="block" fi sec_begin '$(lang de:"Starttyp" en:"Start type")' cat << EOF
EOF sec_end sec_begin '$(lang de:"Konfiguration" en:"Configuration")' cat << EOF
Port: | EOF if [ "$FREETZ_PACKAGE_SHELLINABOX_SSL" == "y" ]; then cat << EOF | $(lang de:"SSL deaktivieren" en:"Disable SSL"): | EOF fi cat << EOF|
Service: |
$(lang de:"Zertifikat" en:"Certificate")
EOF if which openssl_req >/dev/null 2>&1; then cat << EOF $(lang de:"Die Box kann ein minimales, selbst signiertes Zertifikat erstellen. Das dauert etwas..." en:"This will build a self signed certificate on the box. Will take some time..") EOF fi cat << EOF