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:
parent
2330978300
commit
a029dee59b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user