aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/weekly
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1997-08-17 17:54:41 +0000
committerPaul Traina <pst@FreeBSD.org>1997-08-17 17:54:41 +0000
commit4bf4d90ac67088969a2de35b3fb89ecaed558e54 (patch)
tree80fbc827694a86b953480795c53eb4af4f0757fd /etc/periodic/weekly
parent4afb0d5a5b8f11334ae9bbf36057f9d97e1681b7 (diff)
downloadsrc-4bf4d90ac67088969a2de35b3fb89ecaed558e54.tar.gz
src-4bf4d90ac67088969a2de35b3fb89ecaed558e54.zip
This was disabled, but it doesn't even make sense to leave it in as
an example, it's totally bogus.
Notes
Notes: svn path=/head/; revision=28319
Diffstat (limited to 'etc/periodic/weekly')
-rwxr-xr-xetc/periodic/weekly/100.clean-src42
1 files changed, 0 insertions, 42 deletions
diff --git a/etc/periodic/weekly/100.clean-src b/etc/periodic/weekly/100.clean-src
deleted file mode 100755
index 230dff1d2941..000000000000
--- a/etc/periodic/weekly/100.clean-src
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh -
-#
-# $Id: 100.clean-src,v 1.1.1.1 1997/08/12 17:51:16 pst Exp $
-#
-# Clean up /usr/src
-#
-# This really hasn't been used in generations, it's just here for
-# backwards compatibility -- we don't even use SCCS anymore
-#
-
-exit 0 # do not run by default
-
-# see if /usr/src exists and is local before doing anything
-
-if [ -d /usr/src -a \
- X"`find -f /usr/src ! -fstype local -prune -or -type d -print -prune`" != X ];
-then
-
- echo ""
- echo "Removing old .o files from /usr/src:"
-
- find /usr/src -name '*.o' -atime +21 -print -a -exec rm -f {} \;
-
- echo "looking for checked out files in /usr/src:"
- TDIR=/tmp/_checkout$$
-
- mkdir $TDIR
-
- for file in `find -f /usr/src ! -fstype local -prune -or \
- -name 'p.*' -print | egrep 'SCCS/p\.'`; do
- owner=`awk '{ print $3 }' $file`
- echo "$owner $file"
- echo $file >> $TDIR/$owner
- done | sed -e 's,SCCS/p.,,'
-
- for file in $TDIR/*; do
- sed -e 's,SCCS/p.,,' $file | \
- Mail -s 'checked out files' `basename $file`
- done
-
- rm -rf $TDIR
-fi