summaryrefslogtreecommitdiff
path: root/ebuilds/files/rc-addon.sh
blob: 4acfb1d4376fa9eab5d8196ba63427fd4fbd4f8f (plain)
1
2
3
4
5
6
7
8
9
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
}