mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-08 14:18:29 +02:00
nhttpd/tuxboxapi/coolstream/controlapi.cpp: wakeup zapit before neutrino,
to be sure zapit will process any next commands
Origin commit data
------------------
Branch: ni/coolstream
Commit: d26bc23f6b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-09-27 (Fri, 27 Sep 2013)
------------------
This commit was generated by Migit
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