Browse Source

make commented-out stuff secure just in case anyone uncomments it.

OPENBSD_2_1
millert 28 years ago
parent
commit
0fa8ac2d0d
1 changed files with 17 additions and 13 deletions
  1. +17
    -13
      src/etc/weekly

+ 17
- 13
src/etc/weekly View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: weekly,v 1.3 1996/05/26 10:25:32 deraadt Exp $
# $OpenBSD: weekly,v 1.4 1996/12/18 04:32:57 millert Exp $
# #
PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
@ -28,18 +28,22 @@ fi
# echo "looking for checked out files:" # echo "looking for checked out files:"
# TDIR=/tmp/_checkout$$ # 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
# if ! mkdir $TDIR ; then
# echo "temp dir $TDIR already exists! Probable spoof attempt."
# ls -alF $TDIR
# else
# 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
#fi #fi
if [ -f /usr/lib/uucp/clean.weekly ]; then if [ -f /usr/lib/uucp/clean.weekly ]; then


Loading…
Cancel
Save