summaryrefslogtreecommitdiff
blob: 665e1f7675991514cd3a5e0dbe2c7e286556dcc4 (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
25
26
27
28
29
30
31
# $Id$
#
# rc-addon-script for plugin admin
#
# Joerg Bornkessel <hd_brummy@gentoo.org>
#

# Location for all plugin config files
: ${ADMIN_CONF_DIR:=/etc/vdr/plugins/admin}

# Location of the script files
: ${ADMIN_SCRIPT_PATH:=/etc/vdr/plugins/admin}

# Location of the config file
: ${ADMIN_CFG_FILE:=${ADMIN_SCRIPT_PATH}/admin.conf}

# Location of the config file
: ${ADMIN_EXEC_SCRIPT:=${ADMIN_SCRIPT_PATH}/~admexec}

# Location of the log file
: ${ADMIN_LOG_FILE:=/var/log/vdradmplg.log}

# GETVAl and SETVAL scripts
: ${GETVAL:=${ADMIN_SCRIPT_PATH}/getadmval.sh}
: ${SETVAL=${ADMIN_SCRIPT_PATH}/setadmval.sh}

plugin_pre_vdr_start() {

add_plugin_param "-d ${ADMIN_CONF_DIR}"

}