# Authors: Michael Gebetsroither <gebi@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
# Authors: Michael Gebetsroither <gebi@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
if [[ $OPT_DEL_ == 'false' ]]; then
if [[ $OPT_BRIDGE_ != '' && $OPT_AUTO_ == 'true' ]]; then
brctl showmacs "$OPT_BRIDGE_" &>/dev/null || brctl addbr "$OPT_BRIDGE_"
if [[ $OPT_DEL_ == 'false' ]]; then
if [[ $OPT_BRIDGE_ != '' && $OPT_AUTO_ == 'true' ]]; then
brctl showmacs "$OPT_BRIDGE_" &>/dev/null || brctl addbr "$OPT_BRIDGE_"