mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
30 lines
688 B
Plaintext
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
|
|
|