- change download url
- rework of init scripts
This commit is contained in:
Stephan Raue 2009-11-06 15:20:02 +01:00
parent 3b02f9dec0
commit e58eb625a0
3 changed files with 29 additions and 41 deletions

View File

@ -0,0 +1,28 @@
#!/bin/sh
#
# configure and launch VDR
#
# runlevels: geexbox, debug
. /etc/sysconfig
echo "### Starting VDR ###"
PLUGINS=""
for file in /etc/vdr/plugins.d/*; do
# plugins are enabled by default
PLUGIN=""
OPTIONS=""
INITCMD=""
ENABLED=yes
. $file
[ "$ENABLED" = yes ] && PLUGINS="$PLUGINS -P'$PLUGIN $OPTIONS'"
[ -n "$INITCMD" ] && eval $INITCMD
done
VDRCMD="vdr -g /tmp -s /usr/bin/vdrshutdown --vfat --no-kbd $PLUGINS > /tmp/vdr.out 2>&1"
# start VDR
runvdr "$VDRCMD" &
exit 0

View File

@ -1,40 +0,0 @@
#!/bin/sh
#
# configure and launch VDR
#
# runlevels: geexbox, debug
. /usr/config/sysconfig
if [ ! -f /var/dvbcard -a ! -x /usr/bin/enna ]; then
echo "No DVB card found, not starting VDR"
exit 0
fi
echo "### Starting VDR ###"
make_persistent file /etc/wakeup /var/data/config/wakeup
make_persistent file /etc/vdr/channels.conf /var/data/vdr/channels.conf create
make_persistent file /etc/vdr/timers.conf /var/data/vdr/timers.conf create
make_persistent file /etc/vdr/setup.conf /var/data/vdr/setup.conf create
make_persistent dir /video /var/data/video create
make_persistent dir /etc/vdr/plugins/epgsearch /var/data/vdr/epgsearch create
PLUGINS=""
for file in /etc/vdr/plugins.d/*; do
# plugins are enabled by default
PLUGIN=""
OPTIONS=""
INITCMD=""
ENABLED=yes
. $file
[ "$ENABLED" = yes ] && PLUGINS="$PLUGINS -P'$PLUGIN $OPTIONS'"
[ -n "$INITCMD" ] && eval $INITCMD
done
VDRCMD="vdr -g /tmp -s /usr/bin/vdrshutdown --vfat --no-kbd $PLUGINS > /tmp/vdr.out 2>&1"
# start VDR
runvdr "$VDRCMD" &
exit 0

View File

@ -1 +1 @@
ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.7.9.tar.bz2
ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.9.tar.bz2