Installscript-setup.conf
Hulk (Diskussion | Beiträge) K |
|||
(80 dazwischenliegende Versionen von 62 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | + | # Description: Environment for install script | |
− | + | ||
− | # Description: Environment for install script | + | |
− | + | ||
− | + | Installation Prefix. | |
− | + | # installation | |
− | # installation | + | # |
− | # | + | # installation prefix: |
− | # installation | + | INSTALLPREFIX="/usr/local" |
− | + | ||
− | + | ||
Verzeichnis in dem die Sourcen gespeichert werden. | Verzeichnis in dem die Sourcen gespeichert werden. | ||
− | + | # package directory: | |
− | # package directory: | + | PKGDIR="${INSTALLPREFIX}/src/packages" |
− | PKGDIR=" | + | |
− | + | ||
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="${INSTALLPREFIX}/etc/vdr" |
− | DISDIR="/ | + | |
− | + | ||
− | Debuglevel für den Installations-Manager [ | + | 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" | ||
− | + | Dateien welche vom Skript, während der Installation verändert wurden, werden hier gesichert. | |
− | + | ||
− | + | ||
− | + | ||
− | + | # backup directory: | |
− | + | BCKDIR="${DISDIR}/setup/backup" | |
− | + | ||
− | # backup directory: | + | |
− | BCKDIR="${DISDIR}/setup/backup" | + | |
− | + | ||
Format für Backups. | Format für Backups. | ||
− | + | # backup format, use date --help, e.g: | |
− | # backup format, use date --help, e.g: | + | BCKFORMAT="%Y%m%d" |
− | BCKFORMAT="% | + | |
− | + | ||
− | + | Löschen alter Sourcen. | |
− | + | # deleting, cleaning older sources (true/false): | |
− | # deleting, cleaning older sources ( | + | CLEANUP="true" |
− | CLEANUP=" | + | |
− | + | ||
− | + | Packages selbst wählen. | |
− | + | # auto select packages (true/false): | |
− | # auto select packages ( | + | AUTOSEL="true" |
− | AUTOSEL=" | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Kommando zur Internet Einwahl. | Kommando zur Internet Einwahl. | ||
− | + | # 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="" |
− | + | ||
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. | ||
− | + | # 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" | + | |
− | + | ||
− | + | 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 [[installscript-sources.conf|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-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" | ||
− | + | [[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-plugin]] | ||
− | + | # mp3, use DIR for mp3s: | |
− | # mp3 | + | MP3DIR="/mp3" |
− | MP3DIR="/mp3" | + | |
− | + | ||
[[muggle-plugin]] | [[muggle-plugin]] | ||
− | + | # muggle, use toplevel DIR for music: | |
− | # muggle | + | 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"