neutrino: fix file locations. use the predetermined CONFIGDIR instead of hardcoding paths.

This commit is contained in:
[CST] Bas
2013-01-25 10:33:40 +08:00
parent 05bc38eac5
commit 8dfa226920
12 changed files with 16 additions and 16 deletions

View File

@@ -92,7 +92,7 @@ static bool messaging_zap_detected = false;
/*static*/ bool dvb_time_update = false;
//NTP-Config
#define CONF_FILE "/var/tuxbox/config/neutrino.conf"
#define CONF_FILE CONFIGDIR "/neutrino.conf"
#ifdef USE_BB_NTPD
const std::string ntp_system_cmd_prefix = "/sbin/ntpd -q -p ";
@@ -1629,7 +1629,7 @@ void CEitThread::beforeSleep()
messaging_zap_detected = false;
unlockMessaging();
if(notify_complete)
system("/var/tuxbox/config/epgdone.sh");
system(CONFIGDIR "/epgdone.sh");
}
/********************************************************************************/