aboutsummaryrefslogtreecommitdiffstats
path: root/leds-toggle-mode
blob: c1d76d9062684e0ec7db1493228bef07b3b25bf0 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#
# 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
}