aboutsummaryrefslogtreecommitdiffstats
path: root/leds-toggle-mode.rsc
blob: 07e12ae1faad9d0e479a8c644e6ce28af236f5ba (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
#!rsc by RouterOS
# RouterOS script: leds-toggle-mode
# Copyright (c) 2018-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
# toggle LEDs mode
# https://git.eworm.de/cgit/routeros-scripts/about/doc/leds-mode.md

/system/leds/settings/set all-leds-off=(({ "never"="immediate"; "immediate"="never" })->[ get all-leds-off ]);