blob: b6ca4cd49331f744dae333e6d4fcd7ba20cf2b37 (
plain) (
tree)
|
|
#!rsc
# RouterOS script: bridge-port-toggle
# Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de>
#
# toggle bridge ports between default and alt bridge
:global BridgePortTo;
:if ($BridgePortTo != "default") do={
:set BridgePortTo "default";
} else={
:set BridgePortTo "alt";
}
/ system script run bridge-port-to-default;
|