mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +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 <debug.h>
|
||||
#include <sectionsdclient/sectionsdclient.h>
|
||||
#if HAVE_COOL_HARDWARE
|
||||
#include <coolstream/cs_vfd.h>
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
#include <cstdlib>
|
||||
@@ -65,6 +67,7 @@ void CTimerManager::Init(void)
|
||||
m_isTimeSet = false;
|
||||
wakeup = 0;
|
||||
|
||||
#if HAVE_COOL_HARDWARE
|
||||
int fd = open("/dev/display", O_RDONLY);
|
||||
|
||||
if (fd < 0) {
|
||||
@@ -80,6 +83,7 @@ void CTimerManager::Init(void)
|
||||
printf("[timerd] wakeup from standby: %s\n", wakeup ? "yes" : "no");
|
||||
if(wakeup){
|
||||
creat("/tmp/.wakeup", 0);
|
||||
#endif
|
||||
|
||||
}else{
|
||||
const char *neutrino_leave_deepstandby_script = CONFIGDIR "/deepstandby.off";
|
||||
|
Reference in New Issue
Block a user