diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-17 09:48:04 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-17 09:48:04 +0000 |
commit | e42f81ee21d170d2d780e2ccfe18a906cb2ce5b4 (patch) | |
tree | f61af6b0f8bfed38a0f0a0c215a11c8a6ad21872 /media-plugins/vdr-image/files | |
parent | Stable on alpha wrt bug #172575 (diff) | |
download | historical-e42f81ee21d170d2d780e2ccfe18a906cb2ce5b4.tar.gz historical-e42f81ee21d170d2d780e2ccfe18a906cb2ce5b4.tar.bz2 historical-e42f81ee21d170d2d780e2ccfe18a906cb2ce5b4.zip |
Removed bash specific stuff.
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'media-plugins/vdr-image/files')
-rw-r--r-- | media-plugins/vdr-image/files/rc-addon.sh | 11 |
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 - |