mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 23:19:31 +00:00
update EAPI 7 -> 8 new HOME, SRC_URI introduce subslot dependency on media-video/vdr Closes: https://bugs.gentoo.org/919461 Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Part-of: https://github.com/gentoo/gentoo/pull/44250 Signed-off-by: Sam James <sam@gentoo.org>
28 lines
686 B
Bash
28 lines
686 B
Bash
#
|
|
# rc-addon plugin-startup-skript for vdr-vdrmanager
|
|
#
|
|
|
|
: ${VDRMANAGER_PORT:=6420}
|
|
|
|
# default path from ebuild merge; no option in config file to overwrite
|
|
: ${VDRMANAGER_CERTFILE:=/etc/vdr/plugins/vdrmanager/vdrmanager.pem}
|
|
|
|
if [[ -z ${VDRMANAGER_PASS} ]]; then
|
|
eerror "Empty password in /etc/conf.d/vdr.vdrmanager"
|
|
logger -t vdr "ERROR: need password for plugin vdr-manager"
|
|
fi
|
|
|
|
plugin_pre_vdr_start() {
|
|
|
|
add_plugin_param "-p${VDRMANAGER_PORT}"
|
|
add_plugin_param "-P${VDRMANAGER_PASS}"
|
|
|
|
if yesno ${SVDRPHOSTS_CHECK:-no}; then
|
|
add_plugin_param "-s"
|
|
fi
|
|
|
|
add_plugin_param "-k ${VDRMANAGER_CERTFILE}"
|
|
|
|
# vdrmanager_compression
|
|
add_plugin_param "-c ${VDRMANAGER_COMPRESSION}"
|
|
}
|