projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3_Reno release
[unix-history]
/
usr
/
src
/
etc
/
daily
diff --git
a/usr/src/etc/daily
b/usr/src/etc/daily
index
ba565d4
..
79fb5f8
100644
(file)
--- a/
usr/src/etc/daily
+++ b/
usr/src/etc/daily
@@
-1,6
+1,6
@@
#!/bin/sh -
#
#!/bin/sh -
#
-# @(#)daily 5.1
1 (Berkeley) %G%
+# @(#)daily 5.1
0 (Berkeley) 7/1/90
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local
host=`hostname -s`
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local
host=`hostname -s`
@@
-11,8
+11,8
@@
echo ""
echo "Removing scratch and junk files:"
if [ -d /tmp ]; then
cd /tmp && {
echo "Removing scratch and junk files:"
if [ -d /tmp ]; then
cd /tmp && {
- find .
-type f
-atime +3 -exec rm -f {} \;
- find . ! -name . -type d -mtime +1 -exec rmdir {} \; >/dev/null 2>&1; }
+ find .
! -name .
-atime +3 -exec rm -f {} \;
+ find .
! -name . -type d -mtime +1 -exec rmdir {} \; >/dev/null 2>&1; }
fi
if [ -d /var/tmp ]; then
fi
if [ -d /var/tmp ]; then