File: radiusd.cron.monthly

package info (click to toggle)
xtradius 1.2.1-beta2-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,256 kB
  • ctags: 921
  • sloc: ansic: 10,183; perl: 733; sh: 267; makefile: 148; sql: 21
file content (16 lines) | stat: -rw-r--r-- 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