aboutsummaryrefslogtreecommitdiffstats
path: root/bridge-port-toggle
diff options
context:
space:
mode:
Diffstat (limited to 'bridge-port-toggle')
-rw-r--r--bridge-port-toggle8
1 files changed, 4 insertions, 4 deletions
diff --git a/bridge-port-toggle b/bridge-port-toggle
index c80f5e2..fc122f6 100644
--- a/bridge-port-toggle
+++ b/bridge-port-toggle
@@ -4,12 +4,12 @@
#
# toggle bridge ports between default and alt bridge
-:global "bridge-port-to";
+:global BridgePortTo;
-:if ($"bridge-port-to" != "default") do={
- :set "bridge-port-to" "default";
+:if ($BridgePortTo != "default") do={
+ :set BridgePortTo "default";
} else={
- :set "bridge-port-to" "alt";
+ :set BridgePortTo "alt";
}
/ system script run bridge-port-to-default;