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

Diff for /src/etc/daily between version 1.59 and 1.60

version 1.59, 2009/05/10 19:27:25 version 1.60, 2009/05/11 22:27:22
Line 11 
Line 11 
 install -o 0 -g 0 -m 600    /dev/null $PARTOUT  install -o 0 -g 0 -m 600    /dev/null $PARTOUT
 install -o 0 -g 0 -m 600 -b /dev/null $MAINOUT  install -o 0 -g 0 -m 600 -b /dev/null $MAINOUT
   
 exec > $MAINOUT 2>&1  
 sysctl -n kern.version  
 uptime  
   
 start_part() {  start_part() {
         TITLE=$1          TITLE=$1
         exec > $PARTOUT 2>&1          exec > $PARTOUT 2>&1
Line 110 
Line 106 
         }          }
 }  }
   
 next_part "Checking subsystem status:"  next_part "Checking system status:"
 echo ""  if [ "X$VERBOSESTATUS" != X0 ]; then
 echo "disks:"          sysctl -n kern.version
 df -kl          uptime
 echo ""  
 dump W  
   
           echo ""
           echo "disks:"
           df -kl
           echo ""
           dump W
   fi
   
 # The first two regular expressions handle sendmail, the third postfix.  # The first two regular expressions handle sendmail, the third postfix.
 # When the queue is empty, exim -bp keeps silent.  # When the queue is empty, exim -bp keeps silent.
 next_part "mail:"  next_part "mail:"
Line 125 
Line 126 
                 -e "^Mail queue is empty$"                  -e "^Mail queue is empty$"
   
 next_part "network:"  next_part "network:"
 netstat -ivn  if [ "X$VERBOSESTATUS" != X0 ]; then
           netstat -ivn
   
 t=/var/rwho/*          t=/var/rwho/*
 if [ "$t" != '/var/rwho/*' ]; then          if [ "$t" != '/var/rwho/*' ]; then
         echo ""                  echo ""
         ruptime                  ruptime
           fi
 fi  fi
   
 next_part "Running calendar in the background:"  next_part "Running calendar in the background:"

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60