diff options
author | Tobias Grimm <tobias@e-tobi.loc> | 2008-12-02 22:42:14 +0100 |
---|---|---|
committer | Tobias Grimm <tobias@e-tobi.loc> | 2008-12-02 23:09:29 +0100 |
commit | ea48c9d6b05e686f793a064bc0a8349d636cd399 (patch) | |
tree | efcd11c5c42f5a352d2d98ebe28daa9553bd33db | |
parent | 886bdaa2fc4677a5ed2ecb6aeb67424198e27934 (diff) | |
download | vdr-plugin-osdteletext-ea48c9d6b05e686f793a064bc0a8349d636cd399.tar.gz vdr-plugin-osdteletext-ea48c9d6b05e686f793a064bc0a8349d636cd399.tar.bz2 |
Changed default vtx cache dir to the more FHS conform location /var/cache/vdr/vtx
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | README.DE | 3 | ||||
-rw-r--r-- | menu.c | 3 | ||||
-rw-r--r-- | osdteletext.c | 3 | ||||
-rw-r--r-- | txtrecv.c | 2 |
5 files changed, 4 insertions, 10 deletions
@@ -76,8 +76,7 @@ Command line options: -d --directory=DIR The directory where the temporary files will be stored. - (standard value: /vtx, recommended: /tmp/vtx - or /var/cache/vdr/osdteletext.) + (standard value: /var/cache/vdr/vtx) Ensure that the directory exists and is writable. -n --max-cache=NUM Maximum size in megabytes of cache used to store the pages on the harddisk. @@ -63,8 +63,7 @@ Kommandozeilen-Optionen: Verfügbare Optionen: -d --directory=DIR Das Verzeichnis für die temporären Dateien. - (Voreinstellung: /vtx, empfohlen: /tmp/vtx - oder /var/cache/vdr/osdteletext.) + (Voreinstellung: /var/cache/vdr/vtx) Stellen Sie sicher, dass das Verzeichnis existiert und beschreibbar ist. -n --max-cache=NUM Maximale Größe des Zwischenspeichers für Seiten @@ -20,9 +20,6 @@ #include "setup.h" #include "txtrecv.h" - -#define TXTROOT "/vtx" - #define GET_HUNDREDS(x) ( ( (x) - ((x)%256) ) /256 ) #define GET_TENS(x) ( (( (x) - ((x)%16) )%256 ) /16 ) #define GET_ONES(x) ( (x)%16 ) diff --git a/osdteletext.c b/osdteletext.c index a7dfbcd..9d33a6c 100644 --- a/osdteletext.c +++ b/osdteletext.c @@ -121,8 +121,7 @@ const char *cPluginTeletextosd::CommandLineHelp(void) // Return a string that describes all known command line options. return " -d --directory=DIR The directory where the temporary\n" " files will be stored.\n" - " (default: /vtx, recommended: /tmp/vtx\n" - " or /var/cache/vdr/osdteletext.)\n" + " (default: /var/cache/vdr/vtx)\n" " Ensure that the directory exists and is writable.\n" " -n --max-cache=NUM Maximum size in megabytes of cache used\n" " to store the pages on the harddisk.\n" @@ -26,7 +26,7 @@ #include <sys/stat.h> #include <fcntl.h> -const char *RootDir::root = "/vtx"; +const char *RootDir::root = "/var/cache/vdr/vtx"; void RootDir::setRootDir(const char *newRoot) { root=newRoot; |