bridge-port-to-default: delay for global-config

All scripts scheduled with "start-time=startup interval=0" start
simultaneously, thus racing on global variables. So delay for
a second and give global-config time to finish.
This commit is contained in:
Christian Hesse 2018-10-25 12:50:56 +02:00
parent b239853303
commit 6b089a1425

View file

@ -4,6 +4,9 @@
#
# reset bridge ports to default bridge
# delay for global-config
:delay 1s;
:global "bridge-port-to";
:local "len" ([ :len $"bridge-port-to" ] + 1);