Installscript-setup.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K
 
(45 dazwischenliegende Versionen von 33 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<pre>
+
# Description: Environment for install script
# Description: Environment for install script
+
</pre>
+
  
Ist das Verzeichnis, in welches installiert wird (ähnlich dem '''$SOURCEDIR'''). Bitte '''nicht''' ändern.
+
Installation Prefix.
  
<pre>
+
# installation
# installation
+
#
#
+
# installation prefix:
# installation directory, do not change please!:
+
INSTALLPREFIX="/usr/local"
MYPATH="/usr/local/src"
+
</pre>
+
  
 
Verzeichnis in dem die Sourcen gespeichert werden.
 
Verzeichnis in dem die Sourcen gespeichert werden.
  
<pre>
+
# package directory:
# package directory:
+
PKGDIR="${INSTALLPREFIX}/src/packages"
PKGDIR="/usr/local/src/packages"
+
</pre>
+
  
 
Konfiguration für VDR, ist mit der VDR Option '''--config=$DISDIR''' identisch.
 
Konfiguration für VDR, ist mit der VDR Option '''--config=$DISDIR''' identisch.
  
<pre>
+
# directory where vdr stores its config files:
# directory where vdr stores its config files:
+
DISDIR="${INSTALLPREFIX}/etc/vdr"
DISDIR="/usr/local/src/VDRtmp"
+
</pre>
+
  
 
Debuglevel für den Installations-Manager [http://www.gnu.org/software/stow Stow].
 
Debuglevel für den Installations-Manager [http://www.gnu.org/software/stow Stow].
 +
 +
# stow debug (levels are 0,1,2,3) e.g:
 +
STOWDBG="3"
  
<pre>
+
Dateien welche vom Skript, während der Installation verändert wurden, werden hier gesichert.
# stow debug (levels are 0,1,2,3) e.g:
+
STOWDBG="3"
+
</pre>
+
  
Files welche vom Script, während der Installation verändert wurden, werden hier gesichert.
+
# backup directory:
 
+
BCKDIR="${DISDIR}/setup/backup"
<pre>
+
# backup directory:
+
BCKDIR="${DISDIR}/setup/backup"
+
</pre>
+
  
 
Format für Backups.
 
Format für Backups.
  
<pre>
+
# backup format, use date --help, e.g:
# backup format, use date --help, e.g:
+
BCKFORMAT="%Y%m%d"
BCKFORMAT="%Y%m%d"
+
</pre>
+
  
Siehe [[installscript-manual-de]].
+
Löschen alter Sourcen.
  
<pre>
+
# deleting, cleaning older sources (true/false):
# deleting, cleaning older sources (true/false):
+
CLEANUP="true"
CLEANUP="true"
+
</pre>
+
  
Siehe [[installscript-manual-de]].
+
Packages selbst wählen.  
  
<pre>
+
# auto select packages (true/false):
# auto select packages (true/false):
+
AUTOSEL="true"
AUTOSEL="true"
+
</pre>
+
 
+
Hier werden die Logfiles ausgelagert:
+
 
+
<pre>
+
# path to logging file(s):
+
LOGDIR="/var/log/vdr"
+
</pre>
+
  
 
Kommando zur Internet Einwahl.
 
Kommando zur Internet Einwahl.
  
<pre>
+
# internet
# internet
+
#
#
+
# dial-in command, if you don't have access to the web, set it to "":
# dial-in command, if you don't have access to the web, set it to "":
+
#DIALIN="cinternet -v -i ippp0 -A"
DIALIN="cinternet -v -i ippp0 -A"
+
DIALIN=""
</pre>
+
  
 
Kommando zur Internet Auswahl.
 
Kommando zur Internet Auswahl.
  
<pre>
+
# hangup command, if you don't have access to the web, set it to "":
# hangup command, if you don't have access to the web, set it to "":
+
#HANGUP="cinternet -i ippp0 -H"
HANGUP="cinternet -i ippp0 -H"
+
HANGUP=""
</pre>
+
  
 
Optionen für den textbasierten Browser Lynx.
 
Optionen für den textbasierten Browser Lynx.
  
<pre>
+
# lynx options, analog modem? set it to 30:
# lynx options, analog modem? set it to 30:
+
LYNXOPT="-connect_timeout=2 -trace -dump"
LYNXOPT="-connect_timeout=2 -trace -dump"
+
</pre>
+
  
Optionen für den Komandozeilen Downloader '''wget''' (ohne den geht nichts :-).
+
Optionen für den Komandozeilen Downloader '''wget'''.
  
<pre>
+
# wget options:
# wget options:
+
WGETOPT="-v -c -t 30"
WGETOPT="-v -c -t 30"
+
</pre>
+
  
 
Kommando zum prüfen der Internetverbindung.
 
Kommando zum prüfen der Internetverbindung.
  
<pre>
+
# command to check the www connection:
# command to check the www connection:
+
CHCONNECT="ping -c 1 www.google.com"
CHCONNECT="ping -c 1 www.google.com"
+
</pre>
+
  
Zippen der CVS Ordner.
+
Einrichten eines Users (ungetestet).
  
<pre>
+
# video disk recorder
# compressing cvs directorys after download (true/false):
+
#
CVSCOMP="true"
+
# create a account, group/user add for vdr (root/vdr):
</pre>
+
VDRUSR="root"
  
Einrichten eines Users (ungetestet).
+
Verzeichnis für die Aufnahmen. (multi: '''mkdir -p /video{1,2}''')
  
<pre>
+
# use dir as video directory:
# video disk recorder
+
VIDEODIR="/video0"
#
+
# create a account, group/user add for vdr (root/vdr):
+
VDRUSR="root"
+
</pre>
+
  
Verzeichnis für VDR Aufnahmen.
+
Interface zum auslesen der IP Adresse.
  
<pre>
+
# network device name (e.g.: eth*), for edit the svdrphosts.conf
# use dir as video directory:
+
# if there is no card installed, set it to "":
VIDEODIR="/video"
+
INTERFACE="eth0"
</pre>
+
  
Aus diesen Ordner wird die [[commands.conf]]/[[reccmds.conf]] generiert, weiter liegen dort folgende Konfigurations-Dateien.
+
Mount Punkte, siehe [[installscript-sources.conf|sources.conf]].
  
<pre>
+
# mount points:
./xxv/xxvd.cfg
+
MNTCAMERA="/mnt/camera"
./vdradmin/vdradmind.conf
+
MNTCDROM="/mnt/cdrom"
./sharemarks/marks2pts.conf
+
MNTDVD="/mnt/dvd"
./tvmovie2vdr/channels.pl
+
MNTIMAGES="/mnt/images"
./tvmovie2vdr/channels_wanted.pl
+
MNTMP3S="/mnt/mp3s"
./tvmovie2vdr/config.pl
+
MNTIPOD="/mnt/mp3/ipod"
./tvmovie2vdr/channels.pl.org
+
MNTVIDEOS="/mnt/videos"
./tvmovie2vdr/channels_wanted.pl_dist
+
</pre>
+
  
<pre>
+
[[Plugins]] aus dieser Liste, werden beim entpacken gelöscht.
# commands/reccmds/config path:
+
SUBCONFIG="/usr/local/share/vdr"
+
</pre>
+
  
Interface zum auslesen der IP Adresse, an Hand dieser wird die [[svdrphosts.conf]]/[[streamdevhosts.conf]] = [[streamdev-plugin]] editiert.
+
# plugins
 +
#
 +
# remove demo plugin(s):
 +
RMPLUGINS="[[hello-plugin|hello]] [[osddemo-plugin|osddemo]] [[servicedemo-plugin|servicedemo]] [[skincurses-plugin|skincurses]] [[sky-plugin|sky]] [[status-plugin|status]] [[svdrpdemo-plugin|svdrpdemo]]"
  
<pre>
+
[[audiorecorder-plugin]]
# network device name (e.g.: eth*), for edit the svdrphosts.conf
+
# if there is no card installed, set it to "":
+
INTERFACE="eth0"
+
</pre>
+
  
Driver Auswahl, nur 2.4 (1.0.1 oder 1.1.1)
+
# audiorecorder, use DIR as recording directory:
 +
AUDIORECORDERDIR="/mp3/audiorecorder"
  
<pre>
+
[[burn-plugin]]
# dvb driver (only 2.4)
+
#
+
# driver version (1.0.1/1.1.1):
+
DVBDRIVERVERSION="1.0.1"
+
</pre>
+
  
Siehe '''../DVB/driver/Makefile'''.
+
# burn, use DIR to store ISO images:
 +
BURNISODIR="${VIDEODIR}"
 +
 +
# burn, set JAVA_HOME environment variable, to point your JRE installation directory:
 +
JAVA_HOME="${JAVA_HOME:-/usr/lib/java}"
  
<pre>
+
[[digicam-plugin]]
# driver config (1.0.1) (../DVB/driver/Makefile) e.g: CARDS="av7110 margi em8300 b2c2":
+
CARDS="av7110"
+
</pre>
+
  
Ändert die '''/etc/fstab''' fürs [[osdteletext-plugin]]/[[teletext-plugin]]. (tmpfs  /vtx    tmpfs  size=$VTXLIMITm 0 0)
+
# digicam, use DIR for photos:
 +
DIGICAMDIR="${VIDEODIR}/photos"
  
<pre>
+
[[dvdselect-plugin]]
# plugins
+
#
+
# limit /vtx, teletext plugin (m=MB):
+
VTXLIMIT="64m"
+
</pre>
+
  
Auslager- und Speicherort für das [[vdrrip-plugin]].
+
# dvdselect
 
+
DVDSELECTIMAGEDIR="${VIDEODIR}"
<pre>
+
DVDSELECTDEVICENAME="${MNTDVD}"
# output directory vdrrip plugin:
+
DVDSELECTDEVICEORGNAME="/dev/scd0"
VDRRIPDIR="${VIDEODIR}/vdrrip"
+
</pre>
+
  
 
[[image-plugin]]
 
[[image-plugin]]
  
<pre>
+
# image, use DIR for images:
# image plugin:
+
IMAGEDIR="${VIDEODIR}/images"
IMAGEDIR="${VIDEODIR}/images"
+
</pre>
+
  
[[digicam-plugin]]
+
[[karaoke-plugin]]
  
<pre>
+
# karaoke plugin:
# digicam plugin:
+
KARAOKEDIR="${VIDEODIR}/karaoke"
DIGICAMDIR="${VIDEODIR}/fotos"
+
</pre>
+
  
 
[[mp3-plugin]]
 
[[mp3-plugin]]
  
<pre>
+
# mp3, use DIR for mp3s:
# mp3 plugin:
+
MP3DIR="/mp3"
MP3DIR="/mp3"
+
</pre>
+
  
 
[[muggle-plugin]]
 
[[muggle-plugin]]
  
<pre>
+
# muggle, use toplevel DIR for music:
# muggle plugin:
+
MUGGLEDIR="/mp3"
MUGGLEDIR="/mp3"
+
</pre>
+
 
+
[[ipod-plugin]]
+
 
+
<pre>
+
# ipod plugin:
+
IPODDIR="/mp3/ipod"
+
</pre>
+
 
+
Hier ist die "Lizenznummer" für [[Clipinc]] einzutragen.
+
 
+
<pre>
+
# clipinc
+
#
+
# Get your license for free at:
+
# http://www.geschickter-als-kaufen.de/hilfe.htm
+
# "scroll down to "Anfordern einer Lizenznummer"
+
# "xxxxx-xxxxx"
+
CLIPINCLICENSE=""
+
</pre>
+
 
+
Auslagerort für [[Clipinc]].
+
 
+
<pre>
+
# where to store the clips:
+
CLIPINCDIR="${VIDEODIR}/clips"
+
</pre>
+
 
+
Auslagerort für [[clipinc2mp3.sh]].
+
 
+
<pre>
+
# where the mp3s should go:
+
CLIPINC2DIR="/mp3/clips"
+
</pre>
+
 
+
Cache mldonkey.
+
  
<pre>
+
[[ripit-plugin]]
# mldonkey
+
#
+
# directory for mlnet
+
MLDONKEYDIR="/var/cache/mldonkey"
+
</pre>
+
  
Verzeichnis des AudioCD Rippers [http://web.tiscali.it/marcellou/dagrab.html dagrab].
+
# ripit, use DIR as output directory:
 +
RIPITDIR="${VIDEODIR}/mp3/ripit"
  
<pre>
+
[[roaster-plugin]]
# cda2mp3
+
#
+
# output directory:
+
DAGRABDIR="/mp3"
+
</pre>
+
  
Auslagerort für [[Savvy]].
+
# roaster, use DIR as output directory:
 +
ROASTERDIR="${VIDEODIR}/roaster"
  
<pre>
+
[[yacoto-plugin]]
# savvy
+
#
+
# output directory:
+
SAVVYDIR="/mp3/savvy"
+
</pre>
+
  
Falls wer seinen Fileserver via WOL ([[commands.conf]]) aufwecken möchte, '''IP_ADRESS + MAC_ADRESS''' des Servers eintragen.
+
# yacoto, use DIR as output directory:
 +
YACOTODIR="${VIDEODIR}/yacoto"
  
<pre>
 
# wol
 
#
 
# Each MAC-ADDRESS is written as x:x:x:x:x:x, where x is a hexadecimal number
 
# between 0 and ff which represents one byte of the address, which is in
 
# network byte order (big endian).
 
# bash> ifconfig eth0 | sed q
 
#      eth0 Link encap:Ethernet  HWaddr x:x:x:x:x:x
 
#                                        ^^^^^^^^^^^
 
#                                        MAC-ADDRESS
 
WOLADD="IP_ADRESS MAC_ADRESS"
 
</pre>
 
 
[[Kategorie:Installscript]]
 
[[Kategorie:Installscript]]

Aktuelle Version vom 29. Juli 2013, 21:27 Uhr

# Description: Environment for install script

Installation Prefix.

# installation
#
# installation prefix:
INSTALLPREFIX="/usr/local"

Verzeichnis in dem die Sourcen gespeichert werden.

# package directory:
PKGDIR="${INSTALLPREFIX}/src/packages"

Konfiguration für VDR, ist mit der VDR Option --config=$DISDIR identisch.

# directory where vdr stores its config files:
DISDIR="${INSTALLPREFIX}/etc/vdr"

Debuglevel für den Installations-Manager Stow.

# stow debug (levels are 0,1,2,3) e.g:
STOWDBG="3"

Dateien welche vom Skript, während der Installation verändert wurden, werden hier gesichert.

# backup directory:
BCKDIR="${DISDIR}/setup/backup"

Format für Backups.

# backup format, use date --help, e.g:
BCKFORMAT="%Y%m%d"

Löschen alter Sourcen.

# deleting, cleaning older sources (true/false):
CLEANUP="true"

Packages selbst wählen.

# auto select packages (true/false):
AUTOSEL="true"

Kommando zur Internet Einwahl.

# internet
#
# dial-in command, if you don't have access to the web, set it to "":
#DIALIN="cinternet -v -i ippp0 -A"
DIALIN=""

Kommando zur Internet Auswahl.

# hangup command, if you don't have access to the web, set it to "":
#HANGUP="cinternet -i ippp0 -H"
HANGUP=""

Optionen für den textbasierten Browser Lynx.

# lynx options, analog modem? set it to 30:
LYNXOPT="-connect_timeout=2 -trace -dump"

Optionen für den Komandozeilen Downloader wget.

# wget options:
WGETOPT="-v -c -t 30"

Kommando zum prüfen der Internetverbindung.

# command to check the www connection:
CHCONNECT="ping -c 1 www.google.com"

Einrichten eines Users (ungetestet).

# video disk recorder
#
# create a account, group/user add for vdr (root/vdr):
VDRUSR="root"

Verzeichnis für die Aufnahmen. (multi: mkdir -p /video{1,2})

# use dir as video directory:
VIDEODIR="/video0"

Interface zum auslesen der IP Adresse.

# network device name (e.g.: eth*), for edit the svdrphosts.conf
# if there is no card installed, set it to "":
INTERFACE="eth0"

Mount Punkte, siehe sources.conf.

# mount points:
MNTCAMERA="/mnt/camera"
MNTCDROM="/mnt/cdrom"
MNTDVD="/mnt/dvd"
MNTIMAGES="/mnt/images"
MNTMP3S="/mnt/mp3s"
MNTIPOD="/mnt/mp3/ipod"
MNTVIDEOS="/mnt/videos"

Plugins aus dieser Liste, werden beim entpacken gelöscht.

# plugins
#
# remove demo plugin(s):
RMPLUGINS="hello osddemo servicedemo skincurses sky status svdrpdemo"

audiorecorder-plugin

# audiorecorder, use DIR as recording directory:
AUDIORECORDERDIR="/mp3/audiorecorder"

burn-plugin

# burn, use DIR to store ISO images:
BURNISODIR="${VIDEODIR}"

# burn, set JAVA_HOME environment variable, to point your JRE installation directory:
JAVA_HOME="${JAVA_HOME:-/usr/lib/java}"

digicam-plugin

# digicam, use DIR for photos:
DIGICAMDIR="${VIDEODIR}/photos"

dvdselect-plugin

# dvdselect
DVDSELECTIMAGEDIR="${VIDEODIR}"
DVDSELECTDEVICENAME="${MNTDVD}"
DVDSELECTDEVICEORGNAME="/dev/scd0"

image-plugin

# image, use DIR for images:
IMAGEDIR="${VIDEODIR}/images"

karaoke-plugin

# karaoke plugin:
KARAOKEDIR="${VIDEODIR}/karaoke"

mp3-plugin

# mp3, use DIR for mp3s:
MP3DIR="/mp3"

muggle-plugin

# muggle, use toplevel DIR for music:
MUGGLEDIR="/mp3"

ripit-plugin

# ripit, use DIR as output directory:
RIPITDIR="${VIDEODIR}/mp3/ripit"

roaster-plugin

# roaster, use DIR as output directory:
ROASTERDIR="${VIDEODIR}/roaster"

yacoto-plugin

# yacoto, use DIR as output directory:
YACOTODIR="${VIDEODIR}/yacoto"