mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 04:54:28 +02:00
mode-button: support led toggle without extra script
This commit is contained in:
parent
c311e58d99
commit
d70efe910a
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@
|
|||
|
||||
# Run different commands with multiple mode-button presses.
|
||||
:global ModeButton {
|
||||
1="/system/script/run leds-toggle-mode;";
|
||||
1="/system/leds/settings/set all-leds-off=(({ \"never\"=\"immediate\"; \"immediate\"=\"never\" })->[ get all-leds-off ]);";
|
||||
2=":global Identity; :global SendNotification; :global SymbolForNotification; \$SendNotification ([ \$SymbolForNotification \"earth\" ] . \"Hello...\") (\"Hello world, \" . \$Identity . \" calling!\");";
|
||||
3="/system/shutdown;";
|
||||
4="/system/reboot;";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue