Do not print "null" or "noop" when configuring an interface

Note by william hubbs:

I modified the patch to compare "null" and "noop" with $1 instead of
${config}.

Reported-by:    Yun Zheng Hu <hu@fox-it.com>
X-Gentoo-Bug: 379577
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=379577
This commit is contained in:
Yun Zheng Hu 2011-08-20 14:02:04 -05:00 committed by William Hubbs
parent 2330978300
commit a029dee59b

View File

@ -545,7 +545,9 @@ start()
[ -z "${config}" ] && break
set -- ${config}
ebegin "$1"
if [ "$1" != "null" -a "$1" != "noop" ]; then
ebegin "$1"
fi
eindent
case "$1" in
noop)