[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] administration/infra/bin log-accum-cleaner.sh
From: |
Elfyn McBratney |
Subject: |
[Savannah-cvs] administration/infra/bin log-accum-cleaner.sh |
Date: |
Sat, 04 Sep 2004 10:26:31 -0400 |
CVSROOT: /cvsroot/administration
Module name: administration
Branch:
Changes by: Elfyn McBratney <address@hidden> 04/09/04 14:19:14
Modified files:
infra/bin : log-accum-cleaner.sh
Log message:
.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/administration/administration/infra/bin/log-accum-cleaner.sh.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: administration/infra/bin/log-accum-cleaner.sh
diff -u administration/infra/bin/log-accum-cleaner.sh:1.2
administration/infra/bin/log-accum-cleaner.sh:1.3
--- administration/infra/bin/log-accum-cleaner.sh:1.2 Sun Aug 22 16:30:49 2004
+++ administration/infra/bin/log-accum-cleaner.sh Sat Sep 4 14:19:14 2004
@@ -1,9 +1,9 @@
#!/bin/sh
# -*- sh -*-
#
-# Script to clean the chroot's /var/run/log_accum dirs.
+# Script to clean a chroot's /var/run/log_accum.
#
-# $Id: log-accum-cleaner.sh,v 1.2 2004/08/22 16:30:49 beu Exp $
+# $Id: log-accum-cleaner.sh,v 1.3 2004/09/04 14:19:14 beu Exp $
# The basename of this script
prog=`basename $0`
@@ -24,6 +24,7 @@
test ! -d $projdir/var/run/log_accum && return 0
# Remove cruft
+ echo removing cruft in $projdir/var/run/log_accum
find $projdir/var/run/log_accum -type f -atime +1 -print |xargs rm -f
}