blob: 2effc5efa559f6e41b8619ea7628e3cb7af5b3c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $Id$
#
# 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
}
|