Installscript-setup.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(obsolete -> bestandteil von vdrconvert)
K
 
(37 dazwischenliegende Versionen von 27 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
  # Description: Environment for install script
 
  # Description: Environment for install script
  
Verzeichnis in dem die Sourcen gespeichert werden.
+
Installation Prefix.
  
 
  # installation
 
  # installation
 
  #
 
  #
 +
# installation prefix:
 +
INSTALLPREFIX="/usr/local"
 +
 +
Verzeichnis in dem die Sourcen gespeichert werden.
 +
 
  # package directory:
 
  # package directory:
  PKGDIR="/usr/local/src/packages"
+
  PKGDIR="${INSTALLPREFIX}/src/packages"
  
 
Konfiguration für VDR, ist mit der VDR Option '''--config=$DISDIR''' identisch.
 
Konfiguration für VDR, ist mit der VDR Option '''--config=$DISDIR''' identisch.
  
 
  # directory where vdr stores its config files:
 
  # directory where vdr stores its config files:
  DISDIR="/usr/local/src/VDRtmp"
+
  DISDIR="${INSTALLPREFIX}/etc/vdr"
  
 
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:
 
  # stow debug (levels are 0,1,2,3) e.g:
 
  STOWDBG="3"
 
  STOWDBG="3"
  
Files welche vom Script, während der Installation verändert wurden, werden hier gesichert.
+
Dateien welche vom Skript, während der Installation verändert wurden, werden hier gesichert.
  
 
  # backup directory:
 
  # backup directory:
Zeile 28: Zeile 33:
 
  BCKFORMAT="%Y%m%d"
 
  BCKFORMAT="%Y%m%d"
  
Siehe [[installscript-manual-de]].
+
Löschen alter Sourcen.
  
 
  # deleting, cleaning older sources (true/false):
 
  # deleting, cleaning older sources (true/false):
 
  CLEANUP="true"
 
  CLEANUP="true"
  
Siehe [[installscript-manual-de]].
+
Packages selbst wählen.  
  
 
  # auto select packages (true/false):
 
  # auto select packages (true/false):
 
  AUTOSEL="true"
 
  AUTOSEL="true"
 
Hier werden die Logfiles ausgelagert:
 
 
# path to logging file(s):
 
LOGDIR="/var/log/vdr"
 
  
 
Kommando zur Internet Einwahl.
 
Kommando zur Internet Einwahl.
Zeile 48: Zeile 48:
 
  #
 
  #
 
  # 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=""
  
 
Kommando zur Internet Auswahl.
 
Kommando zur Internet Auswahl.
  
 
  # 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=""
  
 
Optionen für den textbasierten Browser Lynx.
 
Optionen für den textbasierten Browser Lynx.
Zeile 60: Zeile 62:
 
  LYNXOPT="-connect_timeout=2 -trace -dump"
 
  LYNXOPT="-connect_timeout=2 -trace -dump"
  
Optionen für den Komandozeilen Downloader '''wget''' (ohne den geht nichts :-).
+
Optionen für den Komandozeilen Downloader '''wget'''.
  
 
  # wget options:
 
  # wget options:
Zeile 69: Zeile 71:
 
  # 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"
 
Zippen der CVS Ordner.
 
 
# compressing cvs directorys after download (true/false):
 
CVSCOMP="true"
 
  
 
Einrichten eines Users (ungetestet).
 
Einrichten eines Users (ungetestet).
Zeile 82: Zeile 79:
 
  VDRUSR="root"
 
  VDRUSR="root"
  
Interface zum auslesen der IP Adresse, an Hand dieser wird die [[svdrphosts.conf]]/[[streamdevhosts.conf]] = [[streamdev-plugin]] editiert.
+
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
 
  # network device name (e.g.: eth*), for edit the svdrphosts.conf
Zeile 88: Zeile 90:
 
  INTERFACE="eth0"
 
  INTERFACE="eth0"
  
Driver Auswahl, nur 2.4 (1.0.1 oder 1.1.1)
+
Mount Punkte, siehe [[installscript-sources.conf|sources.conf]].
  
  # dvb driver (only 2.4)
+
  # 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
 
  #
 
  #
  # driver version (1.0.1/1.1.1):
+
  # remove demo plugin(s):
  DVBDRIVERVERSION="1.0.1"
+
  RMPLUGINS="[[hello-plugin|hello]] [[osddemo-plugin|osddemo]] [[servicedemo-plugin|servicedemo]] [[skincurses-plugin|skincurses]] [[sky-plugin|sky]] [[status-plugin|status]] [[svdrpdemo-plugin|svdrpdemo]]"
  
Siehe '''../DVB/driver/Makefile'''.
+
[[audiorecorder-plugin]]
  
  # driver config (1.0.1) (../DVB/driver/Makefile) e.g: CARDS="av7110 margi em8300 b2c2":
+
  # audiorecorder, use DIR as recording directory:
  CARDS="av7110"
+
  AUDIORECORDERDIR="/mp3/audiorecorder"
  
Ändert die '''/etc/fstab''' fürs [[osdteletext-plugin]]/[[teletext-plugin]]. (tmpfs  /vtx    tmpfs  size=$VTXLIMITm 0 0)
+
[[burn-plugin]]
  
  # plugins
+
  # burn, use DIR to store ISO images:
  #
+
BURNISODIR="${VIDEODIR}"
  # limit /vtx, teletext plugin (m=MB):
+
   
  VTXLIMIT="64m"
+
  # burn, set JAVA_HOME environment variable, to point your JRE installation directory:
 +
  JAVA_HOME="${JAVA_HOME:-/usr/lib/java}"
  
 
[[digicam-plugin]]
 
[[digicam-plugin]]
  
  # digicam plugin:
+
  # digicam, use DIR for photos:
  DIGICAMDIR="${VIDEODIR}/fotos"
+
  DIGICAMDIR="${VIDEODIR}/photos"
 +
 
 +
[[dvdselect-plugin]]
 +
 
 +
# dvdselect
 +
DVDSELECTIMAGEDIR="${VIDEODIR}"
 +
DVDSELECTDEVICENAME="${MNTDVD}"
 +
DVDSELECTDEVICEORGNAME="/dev/scd0"
  
 
[[image-plugin]]
 
[[image-plugin]]
  
  # image plugin:
+
  # image, use DIR for images:
 
  IMAGEDIR="${VIDEODIR}/images"
 
  IMAGEDIR="${VIDEODIR}/images"
  
[[ipod-plugin]]
+
[[karaoke-plugin]]
  
  # ipod plugin:
+
  # karaoke plugin:
  IPODDIR="/mp3/ipod"
+
  KARAOKEDIR="${VIDEODIR}/karaoke"
  
 
[[mp3-plugin]]
 
[[mp3-plugin]]
  
  # mp3 plugin:
+
  # mp3, use DIR for mp3s:
 
  MP3DIR="/mp3"
 
  MP3DIR="/mp3"
  
 
[[muggle-plugin]]
 
[[muggle-plugin]]
  
  # muggle plugin:
+
  # muggle, use toplevel DIR for music:
 
  MUGGLEDIR="/mp3"
 
  MUGGLEDIR="/mp3"
  
Auslager- und Speicherort für das [[vdrrip-plugin]].
+
[[ripit-plugin]]
  
  # output directory vdrrip plugin:
+
  # ripit, use DIR as output directory:
  VDRRIPDIR="${VIDEODIR}/vdrrip"
+
  RIPITDIR="${VIDEODIR}/mp3/ripit"
  
[[dvdselect-plugin]]
+
[[roaster-plugin]]
  
  # dvdselect
+
  # roaster, use DIR as output directory:
  DVDSELECTIMAGEDIR="${VIDEODIR}"
+
  ROASTERDIR="${VIDEODIR}/roaster"
DVDSELECTDEVICENAME="/dev/dvd"
+
DVDSELECTDEVICEORGNAME="/dev/scd0"
+
  
Hier ist die "Lizenznummer" für [[Clipinc]] einzutragen.
+
[[yacoto-plugin]]
  
  # clipinc
+
  # yacoto, use DIR as output directory:
#
+
  YACOTODIR="${VIDEODIR}/yacoto"
# 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 [[clipinc.sh]].
+
 
+
# where the mp3s should go:
+
CLIPINC2DIR="/mp3/clips"
+
 
+
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"
+
  
 
[[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"