aboutsummaryrefslogtreecommitdiff
blob: 4a585269bef3f567fca1943320c45d8945d62598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# $Id$
addon_main() {
	yesno "${START_VDR_AS_ROOT}" && return 0

	if [ -n "${CAP_CHUID}" ] && ! yesno "${FORCE_SETUID_OFF}"; then
		add_param "-u" "vdr"
	else
		add_daemonctrl_param --chuid vdr
	fi
	return 0
}