Description of problem: In /etc/sysconfig/network-scripts/ifup line 265: NUMDEFROUTES=`ip -o route | \ grep "^default" | \ awk '{ nlines++ } END { print nlines }'` This is an inneficient/ silly use of awk. far better to simply use `wc -c` (wc is 1/10th the size of awk) either that, or get rid of grep and change the third line to: awk '/^default/{ nlines++ } END { print nlines }'` Version-Release number of selected component (if applicable): initscripts-7.14-1 How reproducible: always Steps to Reproduce: 1.Read the Source, luke! (sorry!) Actual results: It works (a bit inefficient and kludgey, but it works) Expected results: elegance Additional info:
The grep needs to go, yes. We can't use wc, it's on /usr.
Fixed in CVS, will be in 7.20-1.