mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-04 15:14:28 +02:00
global-config: add more examples for mode button and sms-action
This commit is contained in:
parent
ec2f976be0
commit
e17389749f
1 changed files with 5 additions and 3 deletions
|
@ -66,9 +66,10 @@
|
|||
# Run different commands with multiple mode-button presses.
|
||||
:global "mode-button" {
|
||||
1="/ system script run leds-toggle-mode;";
|
||||
2="/ system shutdown;";
|
||||
3="/ system reboot;";
|
||||
4="/ system script run bridge-port-toggle;";
|
||||
2=":global SendNotification; :global identity; \$SendNotification \"Hello...\" (\"Hello world, \" . \$identity . \" calling!\");";
|
||||
3="/ system shutdown;";
|
||||
4="/ system reboot;";
|
||||
5="/ system script run bridge-port-toggle;";
|
||||
# add more here...
|
||||
};
|
||||
|
||||
|
@ -76,6 +77,7 @@
|
|||
:global "sms-action" {
|
||||
shutdown="/ system shutdown;";
|
||||
reboot="/ system reboot;";
|
||||
bridge-port-toggle="/ system script run bridge-port-toggle;";
|
||||
# add more here...
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue