mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
nhttpd/tuxboxapi/coolstream/controlapi.cpp: wakeup zapit before neutrino,
to be sure zapit will process any next commands
This commit is contained in:
@@ -433,6 +433,7 @@ void CControlAPI::StandbyCGI(CyhookHandler *hh)
|
|||||||
}
|
}
|
||||||
else if (hh->ParamList["1"] == "off")// standby mode off
|
else if (hh->ParamList["1"] == "off")// standby mode off
|
||||||
{
|
{
|
||||||
|
NeutrinoAPI->Zapit->setStandby(false);
|
||||||
if(CNeutrinoApp::getInstance()->getMode() == 4)
|
if(CNeutrinoApp::getInstance()->getMode() == 4)
|
||||||
NeutrinoAPI->EventServer->sendEvent(NeutrinoMessages::STANDBY_OFF, CEventServer::INITID_HTTPD);
|
NeutrinoAPI->EventServer->sendEvent(NeutrinoMessages::STANDBY_OFF, CEventServer::INITID_HTTPD);
|
||||||
hh->SendOk();
|
hh->SendOk();
|
||||||
|
Reference in New Issue
Block a user