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

Diff for /src/etc/rc between version 1.303 and 1.304

version 1.303, 2007/04/14 11:54:00 version 1.304, 2007/04/25 14:12:05
Line 121 
Line 121 
                 echo /etc/rc.shutdown complete.                  echo /etc/rc.shutdown complete.
   
                 # bring carp interfaces down gracefully                  # bring carp interfaces down gracefully
                 for hn in /etc/hostname.carp[0-9]*; do                  ifconfig -a|grep '^carp.*:'|cut -f1 -d:|while read if
                         # Strip off /etc/hostname. prefix                  do
                         if=${hn#/etc/hostname.}                          ifconfig $if down
                         test "$if" = "carp[0-9]*" && continue  
   
                         ifconfig $if > /dev/null 2>&1  
                         if [ $? -eq 0 ]; then  
                                 ifconfig $if down  
                         fi  
                 done                  done
   
                 if [ X"${powerdown}" = X"YES" ]; then                  if [ X"${powerdown}" = X"YES" ]; then

Legend:
Removed from v.1.303  
changed lines
  Added in v.1.304