mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
timerd: do not use wakeup settings on TD
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1086 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -35,7 +35,9 @@
|
|||||||
#include <timerdclient/timerdmsg.h>
|
#include <timerdclient/timerdmsg.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <sectionsdclient/sectionsdclient.h>
|
#include <sectionsdclient/sectionsdclient.h>
|
||||||
|
#if HAVE_COOL_HARDWARE
|
||||||
#include <coolstream/cs_vfd.h>
|
#include <coolstream/cs_vfd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
@@ -65,6 +67,7 @@ void CTimerManager::Init(void)
|
|||||||
m_isTimeSet = false;
|
m_isTimeSet = false;
|
||||||
wakeup = 0;
|
wakeup = 0;
|
||||||
|
|
||||||
|
#if HAVE_COOL_HARDWARE
|
||||||
int fd = open("/dev/display", O_RDONLY);
|
int fd = open("/dev/display", O_RDONLY);
|
||||||
|
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
@@ -80,6 +83,7 @@ void CTimerManager::Init(void)
|
|||||||
printf("[timerd] wakeup from standby: %s\n", wakeup ? "yes" : "no");
|
printf("[timerd] wakeup from standby: %s\n", wakeup ? "yes" : "no");
|
||||||
if(wakeup){
|
if(wakeup){
|
||||||
creat("/tmp/.wakeup", 0);
|
creat("/tmp/.wakeup", 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
const char *neutrino_leave_deepstandby_script = CONFIGDIR "/deepstandby.off";
|
const char *neutrino_leave_deepstandby_script = CONFIGDIR "/deepstandby.off";
|
||||||
|
Reference in New Issue
Block a user