From 2582a266f9ebe004746f61e2aea94498f81ea357 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 9 Apr 2018 16:16:14 -0600 Subject: [PATCH] Update index.lua --- .../install/scripts/app/event_notify/index.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/resources/install/scripts/app/event_notify/index.lua b/resources/install/scripts/app/event_notify/index.lua index 2e8c5c333d..5f758a5959 100644 --- a/resources/install/scripts/app/event_notify/index.lua +++ b/resources/install/scripts/app/event_notify/index.lua @@ -85,8 +85,8 @@ end end ---htek - if (vendor == "htek") then +--fanvil + if (vendor == "fanvil") then if (command == "reboot") then event:addHeader('event-string', 'check-sync;reboot=true'); end @@ -105,6 +105,16 @@ end end +--htek + if (vendor == "htek") then + if (command == "reboot") then + event:addHeader('event-string', 'check-sync;reboot=true'); + end + if (command == "check_sync") then + event:addHeader('event-string', 'resync'); + end + end + --linksys if (vendor == "linksys") then if (command == "reboot") then