routeros-scripts/leds-toggle-mode
Christian Hesse 07e54dd88b add empty comment at first line...
... for better formatting in export.
2018-08-24 16:58:30 +02:00

11 lines
289 B
Text

#
# RouterOS script: leds-toggle-mode
# Copyright (c) 2018 Christian Hesse <mail@eworm.de>
#
# toggle LEDs mode
:if ([ / system leds settings get all-leds-off ] = "never") do={
/ system leds settings set all-leds-off=immediate
} else={
/ system leds settings set all-leds-off=never
}