git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1478 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
striper
2011-05-16 15:35:22 +00:00
parent b9d090e112
commit 48878b63fc
5 changed files with 14 additions and 18 deletions

View File

@@ -3225,20 +3225,20 @@ printf("NeutrinoMessages::EVT_BOUQUETSCHANGED\n");fflush(stdout);
else if( msg == NeutrinoMessages::ANNOUNCE_RECORD) {
system(NEUTRINO_RECORDING_TIMER_SCRIPT);
if( g_settings.recording_server_wakeup ) {
std::string command = "etherwake ";
std::string command = "ether-wake ";
command += g_settings.recording_server_mac;
if(system(command.c_str()) != 0)
perror("etherwake failed");
perror("ether-wake failed");
}
if (g_settings.recording_type == RECORDING_FILE) {
char * recordingDir = ((CTimerd::RecordingInfo*)data)->recordingDir;
for(int i=0 ; i < NETWORK_NFS_NR_OF_ENTRIES ; i++) {
if (strcmp(g_settings.network_nfs_local_dir[i],recordingDir) == 0) {
printf("[neutrino] waking up %s (%s)\n",g_settings.network_nfs_ip[i].c_str(),recordingDir);
std::string command = "etherwake ";
std::string command = "ether-wake ";
command += g_settings.network_nfs_mac[i];
if(system(command.c_str()) != 0)
perror("etherwake failed");
perror("ether-wake failed");
break;
}
}