mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- use ether-wake (from busybox) instead of etherwake -> http://www.dbox2world.net/index.php?page=Thread&postID=130279#post130279
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1478 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user