bridge.sh: use correct POSIX test, = not ==
X-Gentoo-Bug: 353124 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=353124
This commit is contained in:
parent
db6d680765
commit
43678fd2c4
@ -45,8 +45,8 @@ bridge_pre_start()
|
|||||||
eval bridge_unset=\${bridge_${IFVAR}-y\}
|
eval bridge_unset=\${bridge_${IFVAR}-y\}
|
||||||
eval brctl_unset=\${brctl_${IFVAR}-y\}
|
eval brctl_unset=\${brctl_${IFVAR}-y\}
|
||||||
|
|
||||||
if [ -z "${brif}" -a "${brctl_unset}" == 'y' ]; then
|
if [ -z "${brif}" -a "${brctl_unset}" = 'y' ]; then
|
||||||
if [ -z "${ports}" -a "${bridge_unset}" == "y" ]; then
|
if [ -z "${ports}" -a "${bridge_unset}" = "y" ]; then
|
||||||
#eerror "Misconfigured static bridge detected (see net.example)"
|
#eerror "Misconfigured static bridge detected (see net.example)"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user