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