#!/bin/sh . /usr/lib/libmodcgi.sh check "$SUNDTEK_ENABLED" yes:auto "*":man sec_begin '$(lang de:"Starttyp" en:"Start type")' cat << EOF
EOF sec_end sec_begin '$(lang de:"Informationen" en:"Informations")' echo "$(lang de:"Treiberversion" en:"Driver version"):" echo -n '
' mediasrv --build 2>&1 | html echo '' if [ "$(/etc/init.d/rc.sundtek status 2>/dev/null)" == "running" ]; then echo "$(lang de:"Unterstützte Hardware" en:"Supported hardware"):" echo -n '
' mediaclient --enumdevices 2>&1 | grep -C1 'SERIAL' | html echo '' echo "$(lang de:"Verbundene Clients" en:"Connected clients"):" echo -n '
' mediaclient --lc 2>&1 | grep -vE '^\*|^ *$' | html echo '' fi sec_end sec_begin '$(lang de:"Konfiguration" en:"Configuration")' cat << EOF $(lang de:"Parameter für 'mediaclient' (einer pro Zeile)" en:"Parameters for 'mediaclient' (one per row)") EOF sec_end