#!/bin/sh # # Make simple web page with summary information. This should be rewritten # to use some template system and be more flexible. # ( cat < sitesummary report

sitesummary report

EOF

for f in site-summary \
    hostclass-summary \
    kernelversion-summary \
    agesinceseen-summary \
    debian_edu-summary ; do
    echo "$f:"
    /usr/lib/sitesummary/$f
    echo
done

date
cat <


EOF
) > /var/lib/sitesummary/www/index.html

exit 0