/usr/share/doc/freeradius/examples/radiusd.cron.monthly.in is in freeradius 2.1.10+dfsg-3ubuntu0.12.04.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #! /bin/sh
#
# radiusd Cron script to rotate radwtmp file monthly.
#
prefix=@prefix@
localstatedir=@localstatedir@
logdir=@logdir@
umask 022
cd $logdir
# Take care of the standard logfiles.
cd $logdir
if [ -f radwtmp ]
then
savelog -g adm -m 644 -c 6 radwtmp > /dev/null
fi
|