You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/vdr-admin/files/rc-addon.sh

32 lines
686 B

# $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}"
}