Blob Blame Raw
#! /bin/sh

TMPWATCH=/usr/sbin/tmpwatch
CFGFILE=/etc/sysconfig/kismet
LOGDIR=/var/log/kismet

NO_TMPWATCH=
TMPWATCH_TIME=72	# 3 days
TMPWATCH_FLAGS=
test ! -e $CFGFILE      || . $CFGFILE

test -z "$NO_TMPWATCH"  || exit 0
test -x "$TMPWATCH"     || exit 0


exec $TMPWATCH $TMPWATCH_FLAGS "$TMPWATCH_TIME" "$LOGDIR"