# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh,v 1.2 2007/04/17 09:43:15 zzam Exp $ # # rc-addon-script for plugin weatherng # # Joerg Borrnkessel # 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}" }