blob: 5abcad497e08a23813924c238fc7acadac076fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#
# rc-addon plugin-startup-skript for vdr-vdrmanager
#
: ${VDRMANAGER_PORT:=6420}
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
}
|