blob: f0f5597c1ace67ae45a170e10d3cc7ca078d0ba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.1.sh,v 1.2 2006/09/18 20:12:38 hd_brummy Exp $
#
# rc-addon plugin-startup-skript for vdr-skinsoppalusikka
#
# 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() {
if [[ -z ${PLUGINS/dxr3/} ]] ; then
: ${SKINSOPPALUSIKKA_LOGOS_DIR:=/usr/share/vdr/skinsoppalusikka/logos-dxr3}
else
: ${SKINSOPPALUSIKKA_LOGOS_DIR:=/usr/share/vdr/skinsoppalusikka/logos}
fi
add_plugin_param "-l ${SKINSOPPALUSIKKA_LOGOS_DIR}"
}
# for compatibility
if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
plugin_pre_vdr_start
fi
|