2013-09-26 17:14:40 +02:00

30 lines
688 B
Plaintext

$NetBSD: patch-ax,v 1.1 2006/10/15 23:34:02 seb Exp $
--- examples/network.orig 2005-08-03 23:57:57.000000000 +0000
+++ examples/network
@@ -158,7 +158,7 @@ show_status () {
}
op_start () {
- if [ "${bridge}" == "null" ] ; then
+ if [ "${bridge}" = "null" ] ; then
return
fi
@@ -190,13 +190,13 @@ op_start () {
# Attach the real interface to the bridge.
add_to_bridge ${bridge} ${netdev}
- if [ ${antispoof} == 'yes' ] ; then
+ if [ ${antispoof} = 'yes' ] ; then
antispoofing ${netdev} ${bridge}
fi
}
op_stop () {
- if [ "${bridge}" == "null" ] ; then
+ if [ "${bridge}" = "null" ] ; then
return
fi