#!/bin/sh . /usr/lib/libmodcgi.sh . /mod/etc/conf/syslogd.cfg script() { cat << \EOF EOF } filter_form() { cat << \EOF EOF } log_stream() { local title=$1 echo "

$title

" filter_form echo -n '
'
	html | sed -r '2,$s#^##'
	echo '
' } log_file() { log_stream "$1" < "$1" } if [ "$SYSLOGD_LOCAL" = "yes" ]; then script if [ "$SYSLOGD_LOGGING" = "circular_buffer" ]; then logread | log_stream '$(lang de:"Ringpuffer" en:"Memory buffer")' elif [ "$SYSLOGD_LOGGING" = "log_to_file" ]; then if [ -e "$SYSLOGD_ALTERNATIVE_LOGFILE" ]; then log_file "$SYSLOGD_ALTERNATIVE_LOGFILE" elif [ -e "/var/log/messages" ]; then log_file "/var/log/messages" fi fi else echo '

$(lang de:"Kein lokales Loggen aktiviert" en:"No local logging enabled")!

' fi