mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
12 lines
241 B
Bash
Executable File
12 lines
241 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $Id: 150.clean-hoststat,v 1.1 1999/03/30 15:30:44 wollman Exp $
|
|
#
|
|
|
|
if [ -d /var/spool/.hoststat ] ; then
|
|
echo ""
|
|
echo "Removing stale files from /var/spool/.hoststat:"
|
|
|
|
cd /var/spool/.hoststat && find * -mtime +3 -delete
|
|
fi
|