File: radiusd.cron.monthly

package info (click to toggle)
xtradius 1.1-pre2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 880 kB
  • ctags: 803
  • sloc: ansic: 8,719; perl: 651; sh: 219; makefile: 116; sql: 21
file content (16 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh
#
# radiusd	Cron script to rotate radwtmp file monthly.
#		Debian/Linux: place this in /etc/cron.monthly.
#

umask 022
cd /var/log

# Take care of the standard logfiles.
cd /var/log
if [ -f radwtmp ]
then
	savelog -g adm -m 644 -c 6 radwtmp > /dev/null
fi