diff --git a/resources/install/scripts/app/event_notify/index.lua b/resources/install/scripts/app/event_notify/index.lua index 5f758a5959..317fccf78d 100644 --- a/resources/install/scripts/app/event_notify/index.lua +++ b/resources/install/scripts/app/event_notify/index.lua @@ -16,7 +16,7 @@ -- -- The Initial Developer of the Original Code is -- Mark J Crane --- Copyright (C) 2013 - 2014 +-- Copyright (C) 2013 - 2018 -- the Initial Developer. All Rights Reserved. -- -- Contributor(s): @@ -115,6 +115,16 @@ end end +--sangoma + if (vendor == "sangoma") 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