home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Clickx 115
/
Clickx 115.iso
/
software
/
tools
/
windows
/
tails-i386-0.16.iso
/
live
/
filesystem.squashfs
/
etc
/
cron.weekly
/
tor
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2012-11-20
|
322 b
|
17 lines
#!/bin/sh
set -e
set -u
DEFAULTSFILE=/etc/default/tor
if [ -f $DEFAULTSFILE ] ; then
. $DEFAULTSFILE
fi
if [ "${CLEANUP_OLD_COREFILES:-}" = "y" ] ; then
if [ -d /var/lib/tor ] ; then
find /var/lib/tor -mindepth 1 -maxdepth 1 -type f -mtime +21 -user debian-tor -regex '.*/core\(\.[0-9]+\)?' -exec rm '{}' +
fi
fi