#
# Variablen die im Skript /usr/bin/mylinvdr.sh benutzt werden
# Variables to be used by the script in /usr/bin/mylinvdr.sh
#
# this is the current version of this script
VERSION=1.0
# choose which language to use, i.e. de_DE for GERMAN, en_EN for ENGLISH
# note that a corresponding language file (de_DE.lang) must be in the /etc/mylinvdr/lang path
LANGUAGE=de_DE
# Pfad und Name des ISO-Image // Name and path of the ISO image to be created
ISOPATH=/pub/export
#ISOFILE=mylinvdr-0.7_$(date +%y%m%d).iso # example, if you prefer a dated ISO
ISOFILE=vdrinst.iso
#Pfad und Name des tar-Archivs (-m tar)
TARPATH=/pub/export
TARFILE=install.tar.bz2
#Temp Dir
TMPDIR="/pub/export"
# Pfad zum CD/DVD_Laufwerk zum LESEN, kann auch übers Netz sein, default ist /mnt/dvd
# Path to CD/DVD-drive for reading, can be using a LAN, default is /mnt/dvd
# i.e: smbmount //192.168.178.99/freigegebenerpfad /mnt/lan-cd -o username=lanuser,password=lanpassword
# and then PATH_TO_DVD_DRIVE=/mnt/lan-cd # untested
MOUNTPATH=/mnt/dvd
#Pfad zum DVD-BRENNER, default ist /dev/burner // path to dvd burner, default is /dev/burner
BURNDEVICE=/dev/burner
# CD-Brenner, benötigt die gepatchte Version 2.01 von cdrecord, download und install mit Skript
# auf http://mylinvdr.de.vu und debtool
# CD burner, needs a patched version 2.01 of cdrecord, to be downloaded and installed with the
# install script and debtool at http://mylinvdr.de.vu
CD_BURN_DEVICE="ATA:1,1,0" # please find out with command "cdrecord --dev=ATA --scanbus" and enter here
CD_BURN_BURNFREE="driveropts=burnfree" # if your burner can re-commence burning after buffer underrun, else use ""
CD_BURN_SPEED="4" # the speed for burning, default is "4" for CD-RW, matching nearly any CD-RW and drive
CD_BURN_EJECT="-eject"
# Pfad der Dateien die zum Erstellen der Boot-CD benötigt werden
# Path to the files necessary to create a boot iso
BOOTISO="/pub/export/bootiso"
# Wie lange sollen die OSD Meldungen gezeigt werden
# determines how long messages are shown on the OSD
SLEEPTIME=3
# Logfile
LOGFILE=/pub/export/mylinvdr.log
ERRLOGFILE=/pub/export/mylinvdr_error.log
# Verzeichnisse die nicht im Tar gesichert werden sollen
# Directories or paths to be excluded from the tar and ISO
# ACHTUNG! Bitte das Verzeichnis für tvmovie2vdr unbedingt an die eigene Konfiguration anpassen!!!
# ATTENTION! Please enter your corect path to tvmovie2vdr-files!!
EXCLUDEDIRS="/opt/tvmovie2vdr/downloadfiles/* /opt/tvmovie2vdr/downloadupdatefiles/* data/video0/* video0/*"
# Dateien die nicht im Tar gesichert werden sollen
# files or paths to be excluded from the tar and ISO
EXCLUDEFILES=""
# Verzeichnissstrukturen, die dennoch gesichert werden sollen auch wenn das Parent-Dir in EXCLUDEDIRS ist
# Folder to be included in the backup even if parent directory is in EXCLUDEDIRS
INCLUDEDIRS=""
# Dateien die gesichert werden sollen auch wenn das Parent-Dir in EXCLUDEDIRS ist
# Files to be included in the backup even if parent directory is in EXCLUDEDIRS
INCLUDEFILES=""
#Diese Verzeichnisse in ihrer Struktur sicher, d.h. nur die Verzeichnisse, keine enthaltenen Dateien
# Ist am Verteichnis ein "/+" angehängt wird auch die Unterstruktur gesichert, ansonsten nur
# das angegebene Verzeichnis"
#Save this directory structure, that means only directories, no files in them
# If there is "/+" appended at a directory, the substructure of this directory will be saved too
SAVESTRUCTURE="/pub /video /video0 /data/video /data/pub/mp3 /data/pub/mplayer /data/pub/export /data/pub/images /data/pub/web /data/video0/.tvm2vdr/+ /data/video0/.preview"
#Priorität für find und tar
# Set Priority of find and tar processes
PRIORITY="-19"
SVDRPSEND=/usr/bin/svdrpsend.pl
TAR=/bin/tar
NICE=/usr/bin/nice
FIND=/usr/bin/find
MKISOFS=/usr/bin/mkisofs
CDRECORD=/usr/bin/cdrecord
DVDRWFORMAT=/usr/bin/dvd+rw-format
GROWISOFS=/usr/bin/growisofs