#!/bin/bash

ETCDIR=/usr/local/minerva/etc
VARLOG=/var/log/minerva

date +"%F %H:%M CMD $0 $*" >>$VARLOG/bearskin/`basename $0`

LIFE="Life status."

#
# misc
#
DAY=`date +%u`
if [ -f $ETCDIR/daily/$DAY/status ]; then
   TODAY=`. $ETCDIR/daily/$DAY/status`
fi

if [ "$TODAY" == "" ]; then
   TODAY="There are no events today"
fi

echo $LIFE $TODAY

