#!/bin/bash
# /usr/lib/supportconfig/plugins/cat_susemanlog

PLUG="cat_susemanlog"
CONF="/etc/sysconfig/spock"
LOGD="/var/log/rhn/"

grep "^${PLUG}$" $CONF >/dev/null || exit 0

for f in ${LOGD}/*.log; do
	echo "### $f ###"
	test -r $f && cat $f
done
#
