#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh . /mod/etc/conf/syslogd.cfg if [ "$SYSLOGD_LOCAL" = "yes" ]; then let _width=$_cgi_width-230 if [ "$SYSLOGD_LOGGING" = "circular_buffer" ]; then echo '

$(lang de:"Ringpuffer" en:"Memory buffer")

' echo '
'
		logread | html
		echo -n ''
	elif [ "$SYSLOGD_LOGGING" = "log_to_file" ]; then
		if [ -e "$SYSLOGD_ALTERNATIVE_LOGFILE" ]; then
			echo "

$SYSLOGD_ALTERNATIVE_LOGFILE

" echo '
'
			html < "$SYSLOGD_ALTERNATIVE_LOGFILE"
			echo -n ''
		else
			if [ -e "/var/log/messages" ]; then
				echo '

/var/log/messages

' echo '
'
				html < "/var/log/messages"
				echo -n ''
			fi
		fi
	fi
else
	echo '

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

' fi