Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 203728
Collapse All | Expand All

(-)vompserver-0.2.7.old/bootpd.c (-1 / +1 lines)
Lines 99-105 Link Here
99
99
100
  // Open a config file for the given MAC
100
  // Open a config file for the given MAC
101
101
102
  const char* configDir = cPlugin::ConfigDirectory();
102
  const char* configDir = cPlugin::ConfigDirectory( "vomp" );
103
//  char* configDir = "/opt/dvb/vdr-config-1.3/plugins";
103
//  char* configDir = "/opt/dvb/vdr-config-1.3/plugins";
104
  if (!configDir)
104
  if (!configDir)
105
  {
105
  {
(-)vompserver-0.2.7.old/vompserver.c (-1 / +3 lines)
Lines 27-32 Link Here
27
static const char *VERSION        = "0.2.7";
27
static const char *VERSION        = "0.2.7";
28
static const char *DESCRIPTION    = "VDR on MVP plugin by Chris Tallon";
28
static const char *DESCRIPTION    = "VDR on MVP plugin by Chris Tallon";
29
29
30
static char *PLUGIN_CONFIG_SUBDIR = "vomp";
31
30
class cPluginVompserver : public cPlugin
32
class cPluginVompserver : public cPlugin
31
{
33
{
32
public:
34
public:
Lines 61-67 Link Here
61
bool cPluginVompserver::Start(void)
63
bool cPluginVompserver::Start(void)
62
{
64
{
63
  // Start any background activities the plugin shall perform.
65
  // Start any background activities the plugin shall perform.
64
  int success = mvpserver.run(configDir);
66
  int success = mvpserver.run(configDir ? configDir : PLUGIN_CONFIG_SUBDIR);
65
  if (success) return true;
67
  if (success) return true;
66
  else return false;
68
  else return false;
67
}
69
}

Return to bug 203728