mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
19 lines
347 B
Bash
19 lines
347 B
Bash
#
|
|
# rc-addon-script for plugin ffnetdev
|
|
#
|
|
# Joerg Bornkessel <hd_brummy@gentoo.org>
|
|
|
|
: ${VNC_PORT:=20001}
|
|
: ${TS_PORT:=20002}
|
|
|
|
plugin_pre_vdr_start() {
|
|
|
|
[ "${USE_VNC}" = "yes" ] && add_plugin_param "-o ${VNC_PORT}"
|
|
|
|
[ "${USE_TS}" = "yes" ] && add_plugin_param "-t ${TS_PORT}"
|
|
|
|
[ "${REMOTE}" = "yes" ] && add_plugin_param "-e"
|
|
|
|
return 0
|
|
}
|