summaryrefslogtreecommitdiff
blob: 9ca1de4ae828358d2f3b8dba5082c51f4bb6aab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $Id$
#
# rc-addon-script for plugin scheduler
#
# Joerg Bornkessel hd_brummy@gentoo.org

. /etc/conf.d/vdr.scheduler

: ${SCHEDULER_LOGFILE:=/var/log/vdr.scheduler}
: ${SCHEDULER_LOGLEVEL:=0}
: ${SCHEDULER_TASK_LOGDIR:=/var/log}

plugin_pre_vdr_start() {

  add_plugin_param "-l ${SCHEDULER_LOGFILE}"
  add_plugin_param "-v ${SCHEDULER_LOGLEVEL}"
  add_plugin_param "-d ${SCHEDULER_TASK_LOGDIR}"
}