BSD 4_3_Reno release
[unix-history] / usr / src / etc / daily
index ba565d4..79fb5f8 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
 #!/bin/sh -
 #
-#      @(#)daily       5.11 (Berkeley) %G%
+#      @(#)daily       5.10 (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