diff options
| author | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
|---|---|---|
| committer | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
| commit | 0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch) | |
| tree | 11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/vompserver | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'plugins/vompserver')
| -rw-r--r-- | plugins/vompserver/plugin.sh | 61 | ||||
| -rw-r--r-- | plugins/vompserver/vompserver/vomp.conf | 35 |
2 files changed, 96 insertions, 0 deletions
diff --git a/plugins/vompserver/plugin.sh b/plugins/vompserver/plugin.sh new file mode 100644 index 0000000..7550dbf --- /dev/null +++ b/plugins/vompserver/plugin.sh @@ -0,0 +1,61 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 20.07.2008 +# +# vdr-vompserver + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions + +VOMP_VERSION="0.3.0" +WEB="http://www.loggytronic.com/dl/vdr-vompserver-${VOMP_VERSION}.tgz" +VERSION="vompserver-${VOMP_VERSION}" +LINK="vompserver" + +VAR=`basename $WEB` +DIR=`pwd` + +# plugin entfernen +function clean_plugin() { + cd $SOURCEDIR/VDR/PLUGINS/src + rm -rf $LINK* + rm -f $VDRLIBDIR/libvdr-$LINK* + rm -rf $VDRCONFDIR/plugins/vompserver + log "cleaning $LINK" +} + +# plugin installieren +function install_plugin() { + download_plugin + extract_plugin + cd $SOURCEDIR/VDR/PLUGINS/src + rm -f $LINK + ln -vfs $VERSION $LINK + patch_plugin + + ## plugin specials - start ## + cd $DIR + WEB="http://www.loggytronic.com/dl/vomp-dongle-${VOMP_VERSION}" + VAR=`basename $WEB` + download_plugin + cp -rf $DIR/vompserver $VDRCONFDIR/plugins + cp -rf $SOURCEDIR/VDR/PLUGINS/src/vompserver/l10n $VDRCONFDIR/plugins/vompserver + cp -f $FILES/plugins/vomp-dongle-${VOMP_VERSION} $VDRCONFDIR/plugins/vompserver/vomp-dongle + chown -R $VDRUSER:$VDRGROUP $VDRCONFDIR/plugins/vompserver + ## plugin specials - ende ## +} + +# plugin commands +if [ $# \> 0 ]; then + cmd=$1 + cmd_plugin +else + install_plugin + log "install-plugin fuer $VERSION ist fertig" +fi + +exit 0 diff --git a/plugins/vompserver/vompserver/vomp.conf b/plugins/vompserver/vompserver/vomp.conf new file mode 100644 index 0000000..2276afb --- /dev/null +++ b/plugins/vompserver/vompserver/vomp.conf @@ -0,0 +1,35 @@ +[General] + +## Specify a log file here to enable logging + +# Log file = /tmp/vompserver.log + +## If you have more than one vompserver running you +## can enter a name here that will appear on the +## server select list on the MVP + +Server name = My-Server + +## Enable this to start the built in Bootp server +## Required to boot the MVP if you have not got a +## DHCP server that can tell the MVP its boot file +## name and server + +Bootp server enabled = yes + +## Enable this to start the built in TFTP server +## Required to boot the MVP if you have not got a +## TFTP server running elsewhere + +TFTP server enabled = yes + +## Base directory for TFTP server +## If you leave this blank the plugin config +## path will be used - i.e. where this file is + +# TFTP directory = /var/lib/vdr/plugins/vompserver + +## Change the following to "no" to disable the +## built in mvprelay server + +MVPRelay enabled = yes |
