From 10c6d55784e64ec7495159b5fc0242d46fa740c7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 6 Aug 2018 22:07:59 +0200 Subject: sms-action: delay a second --- sms-action | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sms-action') 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; -- cgit v1.2.3-54-g00ecf