diff options
Diffstat (limited to 'media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh')
-rw-r--r-- | media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh new file mode 100644 index 000000000000..b1d9d972e0c7 --- /dev/null +++ b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh @@ -0,0 +1,23 @@ +# +# rc-addon-script for plugin weatherng +# +# Joerg Borrnkessel <hd_brummy@gentoo.org> + +# 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}" +} + |