Downloaded and built the new busybox 1.25.0, and had a script that was no 
longer working? 

The original line was
 IP_ADDRESS=`udhcpc -n -t 8 -T 5 -i $FOUND_IF -s /udhcpc.sh | grep   
Lease | cut -d\  -f3`

But that no longer worked for two reasons? Seems the output is going to 
stderr instead of stdout? Second the case of Lease has changed to lease?

This is how I changed the lines in this little script that uses it or a version 
in 
several places. 

 IP_ADDRESS=`udhcpc -n -t 8 -T 5 -i $FOUND_IF -s /udhcpc.sh 2>&1 | grep 
-i  Lease | cut -d\  -f3`

This script is only 91 lines in length, but my larger script has about 2000+ 
lines, and it also has 3 of this type of lines.

In past, don't recall having any issues in upgrade busybox to the newer 
version? 

The script did actually setup the IP address, but this variable is used to 
determine if it got an IP, and displays an error message since it came up as 
blank without the modification.

Thanks.

+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mi...@kuentos.guam.net                            
  mailto:msetze...@gmail.com
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
ABC         16613838.513356   |   EINSTEIN    
101632185.95569545014114.055355
ROSETTA     45014114.055355   |   SETI        84572139.973936

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to