aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sms-action2
1 files changed, 2 insertions, 0 deletions
diff --git a/sms-action b/sms-action
index 3d3fd5a..5a85bf2 100644
--- a/sms-action
+++ b/sms-action
@@ -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;