what I want to achieve is script for cleaning configuration in ROS and then do my universal configuration which is using bridges.
For older ROS (than 6.41+) to be compatible, I need to remove master-port configuration in "/interface ethernet". Still on older ROS, I can do:
Code: Select all
/interface ethernet set [find] master-port=none
Code: Select all
:if ([:len [/interface ethernet find master-port="none"]]>0) do={
:do {
/interface ethernet set [find] master-port=none
} on-error={ }
}
Is there any way how to remove master-port on older ROS before adding bridges which will work on new ROS too, so I can have one script?
Thank you