Red Hat Bugzilla – Bug 18328
Wrong grep with ifconfig in Germany
Last modified: 2014-03-16 22:16:36 EDT
There is a small Problem with the checking of the down-state of
in /etc/rc.d/init.d/network and
you do ifconfig... | grep UP to see if an interface is down. (also 6.x)
This normally works fine, except in Germany (German language) when using
Point-To-Point Connections. There the pointopoint output gets translated to
PUNKTZUPUNKT where UP is contained. So a grep for "UP " or a better
without grep should be used.
Oops. Changed to 'LANG=C grep " UP "', to hit both cases.
This will be in 5.50 when it gets released.