aboutsummaryrefslogtreecommitdiff
path: root/net/bridge.sh
diff options
context:
space:
mode:
authorChristian <christian@ch-sc.de>2011-02-05 07:24:11 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2011-02-05 07:24:11 -0600
commit43678fd2c44ec35acdcf0316c8ff3b07ee1e5f57 (patch)
tree43b5ea5c99735ba1b5568255111f9812453e4917 /net/bridge.sh
parentdb6d680765b4b9a4d404f6b2e6d5644b2fe3418d (diff)
bridge.sh: use correct POSIX test, = not ==
X-Gentoo-Bug: 353124 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=353124
Diffstat (limited to 'net/bridge.sh')
-rw-r--r--net/bridge.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge.sh b/net/bridge.sh
index 234a640f..91e68d67 100644
--- a/net/bridge.sh
+++ b/net/bridge.sh
@@ -45,8 +45,8 @@ bridge_pre_start()
eval bridge_unset=\${bridge_${IFVAR}-y\}
eval brctl_unset=\${brctl_${IFVAR}-y\}
- if [ -z "${brif}" -a "${brctl_unset}" == 'y' ]; then
- if [ -z "${ports}" -a "${bridge_unset}" == "y" ]; then
+ if [ -z "${brif}" -a "${brctl_unset}" = 'y' ]; then
+ if [ -z "${ports}" -a "${bridge_unset}" = "y" ]; then
#eerror "Misconfigured static bridge detected (see net.example)"
return 0
fi