#! /bin/sh
#
# cron script to rotate samba's smb and nmb log file.
#
# Written by Andrew Howell <andrew@it.com.au>.

if [ -f /var/log/nmb ]; then
	savelog -g adm -m 644 -u root -c 4 /var/log/nmb > /dev/null
fi
if [ -f /var/log/smb ]; then
	savelog -g adm -m 644 -u root -c 4 /var/log/smb > /dev/null
fi
