#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh package="$(echo "$QUERY_STRING" | sed -e 's/^.*pkg=//' -e 's/&.*$//' -e 's/\.//g')" cgi="$(echo "$QUERY_STRING" | sed -e 's/^.*cgi=//' -e 's/&.*$//' -e 's/\.//g')" cgi_begin "$package" "status_$(echo $cgi | sed -e "s/\//__/")" if [ -x "/mod/usr/lib/cgi-bin/$cgi.cgi" ]; then . /mod/usr/lib/cgi-bin/$cgi.cgi else echo "
$(lang de:"Fehler" en:"Error"): $(lang de:"Kein Skript für das die Statusanzeige" en:"no script for status display") '$package/$cgi'.
" fi cgi_end