mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
sms-action: delay a second
This commit is contained in:
parent
a6d4e5eec8
commit
10c6d55784
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
||||||
# run action on received SMS
|
# run action on received SMS
|
||||||
|
|
||||||
:log info ("Received SMS with action '" . $action . "'");
|
: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={
|
:if ($action = "reboot") do={
|
||||||
/ system reboot;
|
/ system reboot;
|
||||||
|
|
Loading…
Reference in a new issue