summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-image/files')
-rw-r--r--media-plugins/vdr-image/files/rc-addon.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/media-plugins/vdr-image/files/rc-addon.sh b/media-plugins/vdr-image/files/rc-addon.sh
index 108c776830ab..a70848daf0d0 100644
--- a/media-plugins/vdr-image/files/rc-addon.sh
+++ b/media-plugins/vdr-image/files/rc-addon.sh
@@ -1,4 +1,4 @@
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/files/rc-addon.sh,v 1.3 2006/07/01 20:49:08 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/files/rc-addon.sh,v 1.4 2007/04/17 09:45:24 zzam Exp $
#
# rc-addon plugin-startup-skript for vdr-image
#
@@ -10,8 +10,8 @@ plugin_pre_vdr_start() {
add_plugin_param "-m ${IMAGE_MOUNT}"
add_plugin_param "-C ${IMAGE_CONVERT}"
- if [[ -f /usr/lib/vdr/inc/commands-functions.sh ]]; then
- source /usr/lib/vdr/inc/commands-functions.sh
+ if [ -f /usr/lib/vdr/inc/commands-functions.sh ]; then
+ . /usr/lib/vdr/inc/commands-functions.sh
else
#source /usr/share/vdr/inc/functions.sh
include commands-functions
@@ -19,8 +19,3 @@ plugin_pre_vdr_start() {
merge_commands_conf /etc/vdr/imagecmds /etc/vdr/plugins/image/imagecmds.conf "${ORDER_IMAGECMDS}"
}
-
-if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
- plugin_pre_vdr_start
-fi
-