diff --git a/app/switch/resources/scripts/app/event_notify/index.lua b/app/switch/resources/scripts/app/event_notify/index.lua index a9d10e65fb..27ea30feb0 100644 --- a/app/switch/resources/scripts/app/event_notify/index.lua +++ b/app/switch/resources/scripts/app/event_notify/index.lua @@ -195,6 +195,16 @@ end end +--bittel + if (vendor == "bittel") then + if (command == "reboot") then + event:addHeader('event-string', 'check-sync;reboot=true'); + end + if (command == "check_sync") then + event:addHeader('event-string', 'check-sync;reboot=false'); + end + end + --send the event event:fire();