[BACK]Return to daily CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/daily between version 1.36 and 1.37

version 1.36, 2001/09/09 01:07:31 version 1.37, 2001/10/24 11:32:13
Line 22 
Line 22 
 echo "Removing scratch and junk files:"  echo "Removing scratch and junk files:"
 if [ -d /tmp -a ! -L /tmp ]; then  if [ -d /tmp -a ! -L /tmp ]; then
         cd /tmp && {          cd /tmp && {
         find -x . \( -name 'ssh-*' -o -name '.X11-unix' \) -prune -o \          find -x . \( -path './ssh-*' -o -path './.X11-unix' \) -prune -o \
             -type f -atime +3 -execdir rm -f -- {} \;              -type f -atime +3 -execdir rm -f -- {} \;
         find -x . ! -name . -type d -mtime +1 -execdir rmdir -- {} \; \          find -x . ! -name . -type d -mtime +1 -execdir rmdir -- {} \; \
             >/dev/null 2>&1; }              >/dev/null 2>&1; }
Line 30 
Line 30 
   
 if [ -d /var/tmp -a ! -L /var/tmp ]; then  if [ -d /var/tmp -a ! -L /var/tmp ]; then
         cd /var/tmp && {          cd /var/tmp && {
         find -x . \( -name 'ssh-*' -o -name '.X11-unix' \) -prune -o \          find -x . \( -path './ssh-*' -o -path './.X11-unix' \) -prune -o \
             ! -type d -atime +7 -execdir rm -f -- {} \;              ! -type d -atime +7 -execdir rm -f -- {} \;
         find -x . ! -name . -type d -mtime +1 -execdir rmdir -- {} \; \          find -x . ! -name . -type d -mtime +1 -execdir rmdir -- {} \; \
             >/dev/null 2>&1; }              >/dev/null 2>&1; }

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37