#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh . /mod/etc/conf/syslogd.cfg cgi_begin 'Syslog' 'syslog' if [ "$SYSLOGD_LOCAL" = "yes" ]; then if [ "$SYSLOGD_LOGGING" = "circular_buffer" ]; then echo '

Ringpuffer

' echo -n '' else if [ "$SYSLOGD_LOGGING" = "log_to_file" ]; then if [ -e "$SYSLOGD_ALTERNATIVE_LOGFILE" ]; then echo "

$SYSLOGD_ALTERNATIVE_LOGFILE

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

/var/log/messages

' echo -n '' fi fi fi fi else echo '

Kein lokales Loggen aktiviert!

' fi cat <
EOF cgi_end