From 6b089a14258fa5538f406a657f21d2ad06a492cf Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 25 Oct 2018 12:50:56 +0200 Subject: [PATCH] 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. --- bridge-port-to-default | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridge-port-to-default b/bridge-port-to-default index 3a62a57..3abb1f3 100644 --- a/bridge-port-to-default +++ b/bridge-port-to-default @@ -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);