mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
sms-action: delay a second
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
# run action on received SMS
|
||||
|
||||
:log info ("Received SMS with action '" . $action . "'");
|
||||
# delay a second to give log servers a chance to get the info
|
||||
:delay 1s;
|
||||
|
||||
:if ($action = "reboot") do={
|
||||
/ system reboot;
|
||||
|
Reference in New Issue
Block a user