mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
11 lines
300 B
Text
11 lines
300 B
Text
#!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;
|
|
}
|