publish copy updates

This commit is contained in:
Wifinigel 2023-03-06 20:56:48 +00:00
parent 4548f7c5c1
commit 8a3419b536
22 changed files with 63 additions and 48 deletions

View file

@ -22,10 +22,10 @@ if ( [:typeof $WanInterfaces] != "array") do={
# Let's step through the interfaces in the array
# and print out their operation status
:foreach WanInterface in=$WanInterfaces do={
:local InterfaceIndex [/interface ethernet find name=$WanInterface];
:local InterfaceId [/interface ethernet find name=$WanInterface];
:local UpDown "down";
if ([:interface ethernet get $InterfaceIndex]->"running") do={
if ([:interface ethernet get $InterfaceId]->"running") do={
:set UpDown "up"
}