1
0
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:
Christian Hesse
2018-08-06 22:07:59 +02:00
parent a6d4e5eec8
commit 10c6d55784

View File

@@ -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;