1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

rename ethernet-to-default -> bridge-port-to-default

This commit is contained in:
Christian Hesse
2018-08-27 10:16:10 +02:00
parent ef48073657
commit 529acebc7b

View File

@ -1,8 +1,8 @@
#
# RouterOS script: ethernet-to-default
# RouterOS script: bridge-port-to-default
# Copyright (c) 2013-2018 Christian Hesse <mail@eworm.de>
#
# reset ethernet interfaces to default bridge
# reset bridge ports to default bridge
:foreach interface in=[ / interface bridge port find where comment~"^default:" ] do={
:local comment [ / interface bridge port get $interface comment ];