aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2015-03-02 22:19:21 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2015-03-02 22:19:21 +0100
commit97f900886c6d7e848721d10672521901d4b310cb (patch)
tree57ed96f515997303afb07b0ae1474500823cdefd /usr
parentBumped to version 2.7.1 (diff)
downloadgentoo-vdr-scripts-97f900886c6d7e848721d10672521901d4b310cb.tar.gz
gentoo-vdr-scripts-97f900886c6d7e848721d10672521901d4b310cb.tar.bz2
gentoo-vdr-scripts-97f900886c6d7e848721d10672521901d4b310cb.zip
bump; update license info, call include on later lines
Diffstat (limited to 'usr')
-rw-r--r--usr/share/vdr/bin/vdrrecord-gate.sh6
-rw-r--r--usr/share/vdr/bin/vdrshutdown-gate.sh4
2 files changed, 6 insertions, 4 deletions
diff --git a/usr/share/vdr/bin/vdrrecord-gate.sh b/usr/share/vdr/bin/vdrrecord-gate.sh
index cea3465..8e733d5 100644
--- a/usr/share/vdr/bin/vdrrecord-gate.sh
+++ b/usr/share/vdr/bin/vdrrecord-gate.sh
@@ -6,9 +6,6 @@
# This is a multiplexer for all things vdr can call with vdr -r script (e.g. noad ...)
# It calls all shell-scripts located in /usr/share/vdr/record in alphabetical order
-include svdrpcmd
-svdrp_command
-
#fork to background
if [ -z "${EXECUTED_BY_VDR_BG}" ]; then
exec /usr/share/vdr/bin/vdr-bg.sh "${0}" "${@}"
@@ -20,6 +17,9 @@ OLD_HOOKDIR=/usr/lib/vdr/record
. /usr/share/vdr/inc/functions.sh
+include svdrpcmd
+svdrp_command
+
mesg() {
"${SVDRPCMD}" MESG "\"$@\""
}
diff --git a/usr/share/vdr/bin/vdrshutdown-gate.sh b/usr/share/vdr/bin/vdrshutdown-gate.sh
index a850782..e09340f 100644
--- a/usr/share/vdr/bin/vdrshutdown-gate.sh
+++ b/usr/share/vdr/bin/vdrshutdown-gate.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: vdrshutdown-gate.sh 625 2008-07-06 12:59:34Z zzam $
+# $Id$
# Author:
# Matthias Schwarzott <zzam@gmx.de>
# Various other contributors from gentoo.de
@@ -8,6 +8,8 @@
# privileged commands. Start visudo and add a line like
# vdr ALL= NOPASSWD: /usr/share/vdr/bin/vdrshutdown-really.sh
+. /usr/share/vdr/inc/functions.sh
+
include svdrpcmd
svdrp_command