Installscript-setup.conf
(M) |
Hulk (Diskussion | Beiträge) K |
||
(15 dazwischenliegende Versionen von 8 Benutzern werden nicht angezeigt) | |||
Zeile 19: | Zeile 19: | ||
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" | ||
− | + | Dateien welche vom Skript, während der Installation verändert wurden, werden hier gesichert. | |
# backup directory: | # backup directory: | ||
Zeile 33: | Zeile 33: | ||
BCKFORMAT="%Y%m%d" | BCKFORMAT="%Y%m%d" | ||
− | + | Löschen alter Sourcen. | |
# deleting, cleaning older sources (true/false): | # deleting, cleaning older sources (true/false): | ||
CLEANUP="true" | CLEANUP="true" | ||
− | + | Packages selbst wählen. | |
# auto select packages (true/false): | # auto select packages (true/false): | ||
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''' | + | Optionen für den Komandozeilen Downloader '''wget'''. |
# wget options: | # wget options: | ||
Zeile 82: | Zeile 84: | ||
VIDEODIR="/video0" | VIDEODIR="/video0" | ||
− | Interface zum auslesen der IP Adresse | + | 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 90: | Zeile 92: | ||
Mount Punkte, siehe [[installscript-sources.conf|sources.conf]]. | Mount Punkte, siehe [[installscript-sources.conf|sources.conf]]. | ||
− | # mount points | + | # mount points: |
MNTCAMERA="/mnt/camera" | MNTCAMERA="/mnt/camera" | ||
− | MNTCDROM="/ | + | MNTCDROM="/mnt/cdrom" |
− | MNTDVD="/ | + | MNTDVD="/mnt/dvd" |
MNTIMAGES="/mnt/images" | MNTIMAGES="/mnt/images" | ||
MNTMP3S="/mnt/mp3s" | MNTMP3S="/mnt/mp3s" | ||
+ | MNTIPOD="/mnt/mp3/ipod" | ||
MNTVIDEOS="/mnt/videos" | MNTVIDEOS="/mnt/videos" | ||
− | [[ | + | [[Plugins]] aus dieser Liste, werden beim entpacken gelöscht. |
# plugins | # plugins | ||
# | # | ||
− | # digicam plugin: | + | # 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]]" | ||
+ | |||
+ | [[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" | DIGICAMDIR="${VIDEODIR}/photos" | ||
+ | |||
+ | [[dvdselect-plugin]] | ||
+ | |||
+ | # dvdselect | ||
+ | DVDSELECTIMAGEDIR="${VIDEODIR}" | ||
+ | DVDSELECTDEVICENAME="${MNTDVD}" | ||
+ | DVDSELECTDEVICEORGNAME="/dev/scd0" | ||
[[image-plugin]] | [[image-plugin]] | ||
− | # image | + | # image, use DIR for images: |
IMAGEDIR="${VIDEODIR}/images" | IMAGEDIR="${VIDEODIR}/images" | ||
− | [[ | + | [[karaoke-plugin]] |
− | # | + | # karaoke plugin: |
− | + | KARAOKEDIR="${VIDEODIR}/karaoke" | |
[[mp3-plugin]] | [[mp3-plugin]] | ||
− | # mp3 | + | # mp3, use DIR for mp3s: |
MP3DIR="/mp3" | MP3DIR="/mp3" | ||
[[muggle-plugin]] | [[muggle-plugin]] | ||
− | # muggle | + | # muggle, use toplevel DIR for music: |
MUGGLEDIR="/mp3" | 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" | |
[[Kategorie:Installscript]] | [[Kategorie:Installscript]] |
Aktuelle Version vom 29. Juli 2013, 20: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, use DIR as recording directory: AUDIORECORDERDIR="/mp3/audiorecorder"
# 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, use DIR for photos: DIGICAMDIR="${VIDEODIR}/photos"
# dvdselect DVDSELECTIMAGEDIR="${VIDEODIR}" DVDSELECTDEVICENAME="${MNTDVD}" DVDSELECTDEVICEORGNAME="/dev/scd0"
# image, use DIR for images: IMAGEDIR="${VIDEODIR}/images"
# karaoke plugin: KARAOKEDIR="${VIDEODIR}/karaoke"
# mp3, use DIR for mp3s: MP3DIR="/mp3"
# muggle, use toplevel DIR for music: MUGGLEDIR="/mp3"
# ripit, use DIR as output directory: RIPITDIR="${VIDEODIR}/mp3/ripit"
# roaster, use DIR as output directory: ROASTERDIR="${VIDEODIR}/roaster"
# yacoto, use DIR as output directory: YACOTODIR="${VIDEODIR}/yacoto"