aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2012-03-06 01:16:07 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2012-03-06 01:16:07 +0100
commit209eb2c4ff6502c252de7e6d0b66309fae91446a (patch)
treea5c1e7c24de85e280c7b58686eaf5ee7bfa44fb9
parentfixed --rcu handling, used from >=media-video/vdr-1.7.25 in plugin media-vide... (diff)
downloadgentoo-vdr-scripts-209eb2c4ff6502c252de7e6d0b66309fae91446a.tar.gz
gentoo-vdr-scripts-209eb2c4ff6502c252de7e6d0b66309fae91446a.tar.bz2
gentoo-vdr-scripts-209eb2c4ff6502c252de7e6d0b66309fae91446a.zip
svdrp_command function now included
-rw-r--r--ChangeLog3
-rwxr-xr-xetc/init.d/vdr9
2 files changed, 4 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index d717b91..3ae8f30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for gentoo-vdr-scripts
# $Id$
+ 06 Mar 2012; Joerg Bornkessel <hd_brummy@gentoo.org> etc/init.d/vdr:
+ svdrp_command function now included
+
05 Mar 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
usr/share/vdr/rcscript/pre-start-30-parameter.sh:
fixed --rcu handling, used from >=media-video/vdr-1.7.25 in plugin
diff --git a/etc/init.d/vdr b/etc/init.d/vdr
index c1e54bf..d21ef6f 100755
--- a/etc/init.d/vdr
+++ b/etc/init.d/vdr
@@ -6,14 +6,6 @@ extra_commands="watchdogrestart"
. /etc/conf.d/vdr.watchdogd
-svdrp_command() {
- if [ -e /usr/bin/svdrpsend.pl ]; then
- SVDRPCMD=/usr/bin/svdrpsend.pl
- else
- SVDRPCMD=/usr/bin/svdrpsend
- fi
-}
-
common_init() {
vdr_home=/var/vdr
cd ${vdr_home}
@@ -21,6 +13,7 @@ common_init() {
. /usr/share/vdr/inc/functions.sh
include rc-functions
include plugin-functions
+ include svdrpcmd
VDR_LOG_FILE=/var/vdr/tmp/vdr-start-log
}