New build path variable
[freeradius.git] / scripts / radiusd.cron.monthly.in
1 #! /bin/sh
2 #
3 # radiusd       Cron script to rotate radwtmp file monthly.
4 #
5
6 prefix=@prefix@
7 localstatedir=@localstatedir@
8 logdir=@logdir@
9
10 umask 022
11 cd $logdir
12
13 # Take care of the standard logfiles.
14 cd $logdir
15 if [ -f radwtmp ]
16 then
17         savelog -g adm -m 644 -c 6 radwtmp > /dev/null
18 fi
19