summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd <bju@maxi.fritz.box>2011-03-20 00:18:49 +0100
committerBernd <bju@maxi.fritz.box>2011-03-20 00:18:49 +0100
commit4702ecb836a85bfe3dbc19d8e6716e16756f0569 (patch)
tree86b75dba6f58af07ab8cdc635f6279fa0a82aae5
parent3424abe46f212c093c01c591c7f776bdb9a89df0 (diff)
downloadvdr-manager-4702ecb836a85bfe3dbc19d8e6716e16756f0569.tar.gz
vdr-manager-4702ecb836a85bfe3dbc19d8e6716e16756f0569.tar.bz2
Added missing add-on file
-rw-r--r--ebuilds/files/rc-addon.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/ebuilds/files/rc-addon.sh b/ebuilds/files/rc-addon.sh
new file mode 100644
index 0000000..4acfb1d
--- /dev/null
+++ b/ebuilds/files/rc-addon.sh
@@ -0,0 +1,10 @@
+plugin_pre_vdr_start() {
+
+ if [ "${ANDROVDR_PORT:=6420}" != 6420 ]; then
+ add_plugin_param "-p ${ANDROVDR_PORT}"
+ fi
+
+ if [ -n "${ANDROVDR_PASSWORD}" ]; then
+ add_plugin_param "-P ${ANDROVDR_PASSWORD}"
+ fi
+}