From 07bc699dca7e9cedf2cd1255765f0d0b661c3a97 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Sep 2003 09:38:44 +0200 Subject: Made 'diseqc.conf' a required file only if Setup.DiSEqC is activated --- vdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vdr.c') diff --git a/vdr.c b/vdr.c index cdc460ea..e4874afc 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.168 2003/09/05 13:14:16 kls Exp $ + * $Id: vdr.c 1.169 2003/09/14 09:36:54 kls Exp $ */ #include @@ -346,7 +346,7 @@ int main(int argc, char *argv[]) Setup.Load(AddDirectory(ConfigDirectory, "setup.conf")); if (!(Sources.Load(AddDirectory(ConfigDirectory, "sources.conf"), true, true) && - Diseqcs.Load(AddDirectory(ConfigDirectory, "diseqc.conf"), true, true) && + Diseqcs.Load(AddDirectory(ConfigDirectory, "diseqc.conf"), true, Setup.DiSEqC) && Channels.Load(AddDirectory(ConfigDirectory, "channels.conf"), false, true) && Timers.Load(AddDirectory(ConfigDirectory, "timers.conf")) && Commands.Load(AddDirectory(ConfigDirectory, "commands.conf"), true) && -- cgit v1.2.3