summaryrefslogtreecommitdiff
blob: 82d35b2bdbe70ace7c032be7a0abb211ed060f9a (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
# $Id$
#
# rc-addon-script for plugin weatherng
#
# Joerg Borrnkessel <hd_brummy@gentoo.org>

# set default image DIR
: ${WEATHERNG_IMAGE_DIR:=/usr/share/vdr/weatherng}

# set default date DIR
: ${WEATHERNG_DATA_DIR:=/var/vdr/weatherng}

# set default path to weatherng.sh
WEATHERNG_BIN_DIR=/var/vdr/weatherng

plugin_pre_vdr_start() {

	add_plugin_param "-D ${WEATHERNG_DATA_DIR}"

	add_plugin_param "-I ${WEATHERNG_IMAGE_DIR}"

	add_plugin_param "-S ${WEATHERNG_BIN_DIR}"
}