Installscript-setup.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(M)
(M)
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.
 
Ist das Verzeichnis, in welches installiert wird (ähnlich dem '''$SOURCEDIR'''). Bitte '''nicht''' ändern.
  
<pre>
+
# installation
# installation
+
#
#
+
# installation directory, do not change please!:
# installation directory, do not change please!:
+
MYPATH="/usr/local/src"
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="/usr/local/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="/usr/local/src/VDRtmp"
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].
  
<pre>
+
# stow debug (levels are 0,1,2,3) e.g:
# stow debug (levels are 0,1,2,3) e.g:
+
STOWDBG="3"
STOWDBG="3"
+
</pre>
+
  
 
Files welche vom Script, während der Installation verändert wurden, werden hier gesichert.
 
Files welche vom Script, während der Installation verändert wurden, werden hier gesichert.
  
<pre>
+
# backup directory:
# backup directory:
+
BCKDIR="${DISDIR}/setup/backup"
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]].
 
Siehe [[installscript-manual-de]].
  
<pre>
+
# deleting, cleaning older sources (true/false):
# deleting, cleaning older sources (true/false):
+
CLEANUP="true"
CLEANUP="true"
+
</pre>
+
  
 
Siehe [[installscript-manual-de]].
 
Siehe [[installscript-manual-de]].
  
<pre>
+
# auto select packages (true/false):
# auto select packages (true/false):
+
AUTOSEL="true"
AUTOSEL="true"
+
</pre>
+
  
 
Hier werden die Logfiles ausgelagert:
 
Hier werden die Logfiles ausgelagert:
  
<pre>
+
# path to logging file(s):
# path to logging file(s):
+
LOGDIR="/var/log/vdr"
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"
+
</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"
+
</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''' (ohne den geht nichts :-).
  
<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.
 
Zippen der CVS Ordner.
  
<pre>
+
# compressing cvs directorys after download (true/false):
# compressing cvs directorys after download (true/false):
+
CVSCOMP="true"
CVSCOMP="true"
+
</pre>
+
  
 
Einrichten eines Users (ungetestet).
 
Einrichten eines Users (ungetestet).
  
<pre>
+
# video disk recorder
# video disk recorder
+
#
#
+
# create a account, group/user add for vdr (root/vdr):
# create a account, group/user add for vdr (root/vdr):
+
VDRUSR="root"
VDRUSR="root"
+
</pre>
+
 
+
Verzeichnis für VDR Aufnahmen.
+
 
+
<pre>
+
# 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.
 
Interface zum auslesen der IP Adresse, an Hand dieser wird die [[svdrphosts.conf]]/[[streamdevhosts.conf]] = [[streamdev-plugin]] editiert.
  
<pre>
+
# network device name (e.g.: eth*), for edit the svdrphosts.conf
# network device name (e.g.: eth*), for edit the svdrphosts.conf
+
# if there is no card installed, set it to "":
# if there is no card installed, set it to "":
+
INTERFACE="eth0"
INTERFACE="eth0"
+
</pre>
+
  
 
Driver Auswahl, nur 2.4 (1.0.1 oder 1.1.1)
 
Driver Auswahl, nur 2.4 (1.0.1 oder 1.1.1)
  
<pre>
+
# dvb driver (only 2.4)
# dvb driver (only 2.4)
+
#
#
+
# driver version (1.0.1/1.1.1):
# driver version (1.0.1/1.1.1):
+
DVBDRIVERVERSION="1.0.1"
DVBDRIVERVERSION="1.0.1"
+
</pre>
+
  
 
Siehe '''../DVB/driver/Makefile'''.
 
Siehe '''../DVB/driver/Makefile'''.
  
<pre>
+
# driver config (1.0.1) (../DVB/driver/Makefile) e.g: CARDS="av7110 margi em8300 b2c2":
# driver config (1.0.1) (../DVB/driver/Makefile) e.g: CARDS="av7110 margi em8300 b2c2":
+
CARDS="av7110"
CARDS="av7110"
+
</pre>
+
  
 
Ändert die '''/etc/fstab''' fürs [[osdteletext-plugin]]/[[teletext-plugin]]. (tmpfs  /vtx    tmpfs  size=$VTXLIMITm 0 0)
 
Ändert die '''/etc/fstab''' fürs [[osdteletext-plugin]]/[[teletext-plugin]]. (tmpfs  /vtx    tmpfs  size=$VTXLIMITm 0 0)
  
<pre>
+
# plugins
# plugins
+
#
#
+
# limit /vtx, teletext plugin (m=MB):
# limit /vtx, teletext plugin (m=MB):
+
VTXLIMIT="64m"
VTXLIMIT="64m"
+
</pre>
+
  
Auslager- und Speicherort für das [[vdrrip-plugin]].
+
[[digicam-plugin]]
 +
 
 +
# digicam plugin:
 +
DIGICAMDIR="${VIDEODIR}/fotos"
 +
 
 +
[[gngb2vdr-plugin]]
  
<pre>
+
# path to the gameboy ROMs, gngb2vdr plugin:
# output directory vdrrip plugin:
+
GNGB2VDRROMDIR="/usr/local/cache/gameboy
VDRRIPDIR="${VIDEODIR}/vdrrip"
+
</pre>
+
  
 
[[image-plugin]]
 
[[image-plugin]]
  
<pre>
+
# image plugin:
# image plugin:
+
IMAGEDIR="${VIDEODIR}/images"
IMAGEDIR="${VIDEODIR}/images"
+
</pre>
+
  
[[digicam-plugin]]
+
[[ipod-plugin]]
  
<pre>
+
# ipod plugin:
# digicam plugin:
+
IPODDIR="/mp3/ipod"
DIGICAMDIR="${VIDEODIR}/fotos"
+
</pre>
+
  
 
[[mp3-plugin]]
 
[[mp3-plugin]]
  
<pre>
+
# mp3 plugin:
# mp3 plugin:
+
MP3DIR="/mp3"
MP3DIR="/mp3"
+
# cache converted images:
</pre>
+
MP3CACHEDIR="/usr/local/cache/mp3"
  
 
[[muggle-plugin]]
 
[[muggle-plugin]]
  
<pre>
+
# muggle plugin:
# muggle plugin:
+
MUGGLEDIR="/mp3"
MUGGLEDIR="/mp3"
+
</pre>
+
  
[[ipod-plugin]]
+
Auslager- und Speicherort für das [[vdrrip-plugin]].
  
<pre>
+
# output directory vdrrip plugin:
# ipod plugin:
+
VDRRIPDIR="${VIDEODIR}/vdrrip"
IPODDIR="/mp3/ipod"
+
</pre>
+
  
 
Hier ist die "Lizenznummer" für [[Clipinc]] einzutragen.
 
Hier ist die "Lizenznummer" für [[Clipinc]] einzutragen.
  
<pre>
+
# clipinc
# clipinc
+
#
#
+
# Get your license for free at:
# Get your license for free at:
+
# http://www.geschickter-als-kaufen.de/hilfe.htm
# http://www.geschickter-als-kaufen.de/hilfe.htm
+
# "scroll down to "Anfordern einer Lizenznummer"
# "scroll down to "Anfordern einer Lizenznummer"
+
# "xxxxx-xxxxx"
# "xxxxx-xxxxx"
+
CLIPINCLICENSE=""
CLIPINCLICENSE=""
+
</pre>
+
  
 
Auslagerort für [[Clipinc]].
 
Auslagerort für [[Clipinc]].
  
<pre>
+
# where to store the clips:
# where to store the clips:
+
CLIPINCDIR="${VIDEODIR}/clips"
CLIPINCDIR="${VIDEODIR}/clips"
+
</pre>
+
  
 
Auslagerort für [[clipinc2mp3.sh]].
 
Auslagerort für [[clipinc2mp3.sh]].
  
<pre>
+
# where the mp3s should go:
# where the mp3s should go:
+
CLIPINC2DIR="/mp3/clips"
CLIPINC2DIR="/mp3/clips"
+
</pre>
+
  
 
Cache mldonkey.
 
Cache mldonkey.
  
<pre>
+
# mldonkey
# mldonkey
+
#
#
+
# directory for mlnet
# directory for mlnet
+
MLDONKEYDIR="/usr/local/cache/mldonkey"
MLDONKEYDIR="/var/cache/mldonkey"
+
</pre>
+
  
 
Verzeichnis des AudioCD Rippers [http://web.tiscali.it/marcellou/dagrab.html dagrab].
 
Verzeichnis des AudioCD Rippers [http://web.tiscali.it/marcellou/dagrab.html dagrab].
  
<pre>
+
# cda2mp3
# cda2mp3
+
#
#
+
# output directory:
# output directory:
+
DAGRABDIR="/mp3"
DAGRABDIR="/mp3"
+
</pre>
+
  
 
Auslagerort für [[Savvy]].
 
Auslagerort für [[Savvy]].
  
<pre>
+
# savvy
# savvy
+
#
#
+
# output directory:
# output directory:
+
SAVVYDIR="/mp3/savvy"
SAVVYDIR="/mp3/savvy"
+
</pre>
+
  
 
Falls wer seinen Fileserver via WOL ([[commands.conf]]) aufwecken möchte, '''IP_ADRESS + MAC_ADRESS''' des Servers eintragen.
 
Falls wer seinen Fileserver via WOL ([[commands.conf]]) aufwecken möchte, '''IP_ADRESS + MAC_ADRESS''' des Servers eintragen.
  
<pre>
+
# wol
# wol
+
#
#
+
# Each MAC-ADDRESS is written as x:x:x:x:x:x, where x is a hexadecimal number
# 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
# between 0 and ff which represents one byte of the address, which is in
+
# network byte order (big endian).
# network byte order (big endian).
+
# bash> ifconfig eth0 | sed q
# bash> ifconfig eth0 | sed q
+
#      eth0 Link encap:Ethernet  HWaddr x:x:x:x:x:x
#      eth0 Link encap:Ethernet  HWaddr x:x:x:x:x:x
+
#                                        ^^^^^^^^^^^
#                                        ^^^^^^^^^^^
+
#                                        MAC-ADDRESS
#                                        MAC-ADDRESS
+
WOLADD="IP_ADRESS MAC_ADRESS"
WOLADD="IP_ADRESS MAC_ADRESS"
+
 
</pre>
+
 
[[Kategorie:Installscript]]
 
[[Kategorie:Installscript]]

Version vom 17. März 2005, 13:34 Uhr

# Description: Environment for install script

Ist das Verzeichnis, in welches installiert wird (ähnlich dem $SOURCEDIR). Bitte nicht ändern.

# installation
#
# installation directory, do not change please!:
MYPATH="/usr/local/src"

Verzeichnis in dem die Sourcen gespeichert werden.

# package directory:
PKGDIR="/usr/local/src/packages"

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

# directory where vdr stores its config files:
DISDIR="/usr/local/src/VDRtmp"

Debuglevel für den Installations-Manager Stow.

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

Files welche vom Script, 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"

Siehe installscript-manual-de.

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

Siehe installscript-manual-de.

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

Hier werden die Logfiles ausgelagert:

# path to logging file(s):
LOGDIR="/var/log/vdr"

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"

Kommando zur Internet Auswahl.

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

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 (ohne den geht nichts :-).

 # 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"

Zippen der CVS Ordner.

# compressing cvs directorys after download (true/false):
CVSCOMP="true"

Einrichten eines Users (ungetestet).

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

Interface zum auslesen der IP Adresse, an Hand dieser wird die svdrphosts.conf/streamdevhosts.conf = streamdev-plugin editiert.

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

Driver Auswahl, nur 2.4 (1.0.1 oder 1.1.1)

# dvb driver (only 2.4)
#
# driver version (1.0.1/1.1.1):
DVBDRIVERVERSION="1.0.1"

Siehe ../DVB/driver/Makefile.

# driver config (1.0.1) (../DVB/driver/Makefile) e.g: CARDS="av7110 margi em8300 b2c2":
CARDS="av7110"

Ändert die /etc/fstab fürs osdteletext-plugin/teletext-plugin. (tmpfs /vtx tmpfs size=$VTXLIMITm 0 0)

# plugins
#
# limit /vtx, teletext plugin (m=MB):
VTXLIMIT="64m"

digicam-plugin

# digicam plugin:
DIGICAMDIR="${VIDEODIR}/fotos"

gngb2vdr-plugin

# path to the gameboy ROMs, gngb2vdr plugin:
GNGB2VDRROMDIR="/usr/local/cache/gameboy

image-plugin

# image plugin:
IMAGEDIR="${VIDEODIR}/images"

ipod-plugin

# ipod plugin:
IPODDIR="/mp3/ipod"

mp3-plugin

# mp3 plugin:
MP3DIR="/mp3"
# cache converted images:
MP3CACHEDIR="/usr/local/cache/mp3"

muggle-plugin

# muggle plugin:
MUGGLEDIR="/mp3"

Auslager- und Speicherort für das vdrrip-plugin.

# output directory vdrrip plugin:
VDRRIPDIR="${VIDEODIR}/vdrrip"

Hier ist die "Lizenznummer" für Clipinc einzutragen.

# clipinc
#
# Get your license for free at:
# http://www.geschickter-als-kaufen.de/hilfe.htm
# "scroll down to "Anfordern einer Lizenznummer"
# "xxxxx-xxxxx"
CLIPINCLICENSE=""

Auslagerort für Clipinc.

# where to store the clips:
CLIPINCDIR="${VIDEODIR}/clips"

Auslagerort für clipinc2mp3.sh.

# where the mp3s should go:
CLIPINC2DIR="/mp3/clips"

Cache mldonkey.

# mldonkey
#
# directory for mlnet
MLDONKEYDIR="/usr/local/cache/mldonkey"

Verzeichnis des AudioCD Rippers dagrab.

# cda2mp3
#
# output directory:
DAGRABDIR="/mp3"

Auslagerort für Savvy.

# savvy
#
# output directory:
SAVVYDIR="/mp3/savvy"

Falls wer seinen Fileserver via WOL (commands.conf) aufwecken möchte, IP_ADRESS + MAC_ADRESS des Servers eintragen.

# 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"