Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 190285
Collapse All | Expand All

(-)gentoo-vdr-scripts-0.4.0.orig/etc/conf.d/vdr (-1 / +1 lines)
Lines 16-22 Link Here
16
# What IR control should be used. Override the default set at
16
# What IR control should be used. Override the default set at
17
# compile time
17
# compile time
18
# (Usable at vdr version starting from 1.3.28)
18
# (Usable at vdr version starting from 1.3.28)
19
#   allowed values: lirc rcu
19
#   allowed values: lirc rcu irtrans
20
#   default: use no remote
20
#   default: use no remote
21
#            (up to vdr-1.3.36-r2: use what was selected by use-flag)
21
#            (up to vdr-1.3.36-r2: use what was selected by use-flag)
22
#IR_CTRL="lirc"
22
#IR_CTRL="lirc"
(-)gentoo-vdr-scripts-0.4.0.orig/etc/init.d/vdr (-1 / +2 lines)
Lines 14-20 Link Here
14
depend() {
14
depend() {
15
	need net
15
	need net
16
	[ "${IR_CTRL}" = "lirc" ] && need lircd
16
	[ "${IR_CTRL}" = "lirc" ] && need lircd
17
	use lircd coldplug
17
	[ "${IR_CTRL}" = "irtrans" ] && need irtrans-server
18
	use lircd irtrans-server coldplug
18
	after checkroot
19
	after checkroot
19
}
20
}
20
21
(-)gentoo-vdr-scripts-0.4.0.orig/usr/share/vdr/rcscript/pre-start-30-parameter.sh (+1 lines)
Lines 22-27 Link Here
22
	if [ -n "${CAP_IRCTRL_RUNTIME_PARAM}" ] && [ -n "${IR_CTRL}" ]; then
22
	if [ -n "${CAP_IRCTRL_RUNTIME_PARAM}" ] && [ -n "${IR_CTRL}" ]; then
23
		case "${IR_CTRL}" in
23
		case "${IR_CTRL}" in
24
			lirc|rcu) add_param "--${IR_CTRL}" ;;
24
			lirc|rcu) add_param "--${IR_CTRL}" ;;
25
			irtrans) add_param "--lirc" ;;
25
		esac
26
		esac
26
	fi
27
	fi
27
28

Return to bug 190285