1 |
hd_brummy 14/06/01 17:09:08 |
2 |
|
3 |
Added: confd-0.12 rc-addon-0.12.sh |
4 |
Log: |
5 |
bump |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 34C2808A) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-plugins/vdr-vdrmanager/files/confd-0.12 |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-vdrmanager/files/confd-0.12?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-vdrmanager/files/confd-0.12?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: confd-0.12 |
16 |
=================================================================== |
17 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrmanager/files/confd-0.12,v 1.1 2014/06/01 17:09:08 hd_brummy Exp $ |
18 |
# /etc/conf.d/vdr.vdrmanager |
19 |
|
20 |
# Parameters for vdr-plugin-vdrmanager |
21 |
# |
22 |
# For more details see: |
23 |
# http://projects.vdr-developer.org/projects/vdr-manager/wiki |
24 |
|
25 |
# Set the port where the plugin is listen on |
26 |
# allowed values: port number |
27 |
# default: 6420 |
28 |
# default port on ssl connection is always VDRMANAGER_PORT +1 |
29 |
# this means, if you enable ssl support on your android vdrmanager app |
30 |
# add +1 in the app port setup, else it will still the non ssl connection be used |
31 |
# try to remember on this ;) |
32 |
# |
33 |
#VDRMANAGER_PORT="6420" |
34 |
|
35 |
# Set the password where the plugin/app is listen on |
36 |
# allowed values: your_password |
37 |
# default: |
38 |
# |
39 |
VDRMANAGER_PASS="" |
40 |
|
41 |
# Force check against svdrphosts.conf |
42 |
# change this to yes, if you have added a static IP |
43 |
# for access outside from your LAN |
44 |
# |
45 |
# allowed values: yes | no |
46 |
# default: no |
47 |
# |
48 |
#SVDRPHOSTS_CHECK="no" |
49 |
|
50 |
# Compressionsmode for data transfer |
51 |
# 'g' for gzip, if you has use-flag gzip enabled on plugin install |
52 |
# 'z' for zlib, if you has use-flag zlib enabled on plugin install |
53 |
# 'n' for none, if you would like to disable compression |
54 |
# |
55 |
# allowed values: g | z | n |
56 |
# default: unset |
57 |
# |
58 |
#VDRMANAGER_COMPRESSION="" |
59 |
|
60 |
|
61 |
|
62 |
1.1 media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh |
63 |
|
64 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh?rev=1.1&view=markup |
65 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh?rev=1.1&content-type=text/plain |
66 |
|
67 |
Index: rc-addon-0.12.sh |
68 |
=================================================================== |
69 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh,v 1.1 2014/06/01 17:09:08 hd_brummy Exp $ |
70 |
# |
71 |
# rc-addon plugin-startup-skript for vdr-vdrmanager |
72 |
# |
73 |
|
74 |
: ${VDRMANAGER_PORT:=6420} |
75 |
|
76 |
# default path from ebuild merge; no option in config file to overwrite |
77 |
: ${VDRMANAGER_CERTFILE:=/etc/vdr/plugins/vdrmanager/vdrmanager.pem} |
78 |
|
79 |
if [[ -z ${VDRMANAGER_PASS} ]]; then |
80 |
eerror "Empty password in /etc/conf.d/vdr.vdrmanager" |
81 |
logger -t vdr "ERROR: need password for plugin vdr-manager" |
82 |
fi |
83 |
|
84 |
plugin_pre_vdr_start() { |
85 |
|
86 |
add_plugin_param "-p${VDRMANAGER_PORT}" |
87 |
add_plugin_param "-P${VDRMANAGER_PASS}" |
88 |
|
89 |
if yesno ${SVDRPHOSTS_CHECK:-no}; then |
90 |
add_plugin_param "-s" |
91 |
fi |
92 |
|
93 |
add_plugin_param "-k ${VDRMANAGER_CERTFILE}" |
94 |
|
95 |
# vdrmanager_compression |
96 |
add_plugin_param "-c ${VDRMANAGER_COMPRESSION}" |
97 |
} |