diff options
author | Christian Hesse <mail@eworm.de> | 2018-10-25 12:50:56 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-10-25 12:50:56 +0200 |
commit | 6b089a14258fa5538f406a657f21d2ad06a492cf (patch) | |
tree | a72b9a160b3ec1e086a64ef41f2853990dd595f0 /bridge-port-to-default | |
parent | b239853303a0ae384f411ee1be3da2a1a7334231 (diff) |
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.
Diffstat (limited to 'bridge-port-to-default')
-rw-r--r-- | bridge-port-to-default | 3 |
1 files changed, 3 insertions, 0 deletions
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); |