mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 10:04:19 +02:00
global-config: add more examples for mode button and sms-action
This commit is contained in:
parent
ec2f976be0
commit
e17389749f
|
@ -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…
Reference in a new issue