routeros-scripts/leds-toggle-mode

11 lines
287 B
Text
Raw Normal View History

2018-08-06 11:16:15 +00:00
# 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
}