summaryrefslogtreecommitdiff
blob: 0fd34281156b16d1b646713bf2cebb7a2d3e4b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/files/rc-addon-0.1.1_pre2-r1.sh,v 1.2 2007/04/17 12:41:15 zzam Exp $
#
# rc-addon plugin-startup-skript for vdr-skinelchi
#
# This sript is called by gentoo-vdr-scripts on start of VDR

# Check on dxr-3 and set default logo DIR
plugin_pre_vdr_start() {

# Next lines commented, not supported yet, remove this if dxr3 logo support is available
#	if [ "${PLUGINS#*dxr3}" != "${PLUGINS}" ] ; then
#		: ${SKINELCHI_LOGOS_DIR:=/usr/share/vdr/channel-logos/logos-dxr3}
#	else
		: ${SKINELCHI_LOGOS_DIR:=/usr/share/vdr/channel-logos}
#	fi
  
	add_plugin_param "-l ${SKINELCHI_LOGOS_DIR}"

}