From 4702ecb836a85bfe3dbc19d8e6716e16756f0569 Mon Sep 17 00:00:00 2001 From: Bernd Date: Sun, 20 Mar 2011 00:18:49 +0100 Subject: Added missing add-on file --- ebuilds/files/rc-addon.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ebuilds/files/rc-addon.sh (limited to 'ebuilds') 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 +} -- cgit v1.2.3