aboutsummaryrefslogtreecommitdiffstats
path: root/bridge-port-toggle
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-02-22 15:14:10 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-02-24 21:51:54 +0100
commitf46db918453dcb8878b9a0de6e122fb0ea2224d9 (patch)
tree31544a450651d0705ecdea0c3d35e650ef784d67 /bridge-port-toggle
parentb0e52aa2d1baa78fc9d025c0671fea8babba0ec2 (diff)
global: give script or function name in log messages
Diffstat (limited to 'bridge-port-toggle')
-rw-r--r--bridge-port-toggle1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge-port-toggle b/bridge-port-toggle
index 9ad38cb..9eeab35 100644
--- a/bridge-port-toggle
+++ b/bridge-port-toggle
@@ -6,6 +6,7 @@
# toggle bridge ports between default and alt bridge
# https://git.eworm.de/cgit/routeros-scripts/about/doc/bridge-port.md
+:local 0 "bridge-port-toggle";
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }