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

Diff for /src/etc/rc between version 1.262 and 1.263

version 1.262, 2005/03/22 22:24:38 version 1.263, 2005/04/01 05:37:35
Line 289 
Line 289 
                         _host1=`ypmatch $_host1 hosts | cut -d' ' -f2`                          _host1=`ypmatch $_host1 hosts | cut -d' ' -f2`
                         _host2=`ypmatch $_host2 hosts | cut -d' ' -f2 | head -1`                          _host2=`ypmatch $_host2 hosts | cut -d' ' -f2 | head -1`
                 else                  else
                         _host1=`nslookup $_host1 | grep '^Name: ' | \                          _host1=`echo $_host1 | nslookup | grep '^Name: ' | \
                             sed -e 's/^Name:    //'`                              sed -e 's/^Name:    //'`
                         _host2=`nslookup $_host2 | grep '^Name: ' | \                          _host2=`echo $_host2 | nslookup | grep '^Name: ' | \
                             sed -e 's/^Name:    //'`                              sed -e 's/^Name:    //'`
                 fi                  fi
                 if [ "$_host2" = "$_host1" ]; then                  if [ "$_host2" = "$_host1" ]; then

Legend:
Removed from v.1.262  
changed lines
  Added in v.1.263