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;