diff options
Diffstat (limited to 'media-plugins/vdr-scheduler/files/rc-addon.sh')
-rw-r--r-- | media-plugins/vdr-scheduler/files/rc-addon.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/media-plugins/vdr-scheduler/files/rc-addon.sh b/media-plugins/vdr-scheduler/files/rc-addon.sh new file mode 100644 index 000000000000..757c5e7f68fe --- /dev/null +++ b/media-plugins/vdr-scheduler/files/rc-addon.sh @@ -0,0 +1,18 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-scheduler-0.1.3/files/rc-addon.sh +# +# 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}" +} |