blob: d2c5bff356f6af713713fd6230f67ea2ee88fb45 (
plain) (
tree)
|
|
#!rsc
# RouterOS script: leds-toggle-mode
# Copyright (c) 2018-2019 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;
}
|