aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-06 22:07:59 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-06 22:07:59 +0200
commit10c6d55784e64ec7495159b5fc0242d46fa740c7 (patch)
tree98de69599bb0c7788f356186c14ced3e2264cc74
parenta6d4e5eec8c7a7a78e883941d13caf3fb9623ea9 (diff)
sms-action: delay a second
-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;