Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 283057 | Differences between
and this patch

Collapse All | Expand All

(-)init.d-hidd.orig (-4 / +6 lines)
Lines 8-19 depend() { Link Here
8
}
8
}
9
9
10
start() {
10
start() {
11
	local result service
12
11
	ebegin "Starting hidd"
13
	ebegin "Starting hidd"
12
	start-stop-daemon --start --quiet \
14
	start-stop-daemon --start --quiet \
13
		--exec /usr/bin/hidd -- ${HIDD_OPTIONS} --server
15
		--exec /usr/bin/hidd -- ${HIDD_OPTIONS} --server
14
	local result="$?"
16
	result=$?
15
	local service="/etc/bluetooth/input.service"
17
16
	if [ "${result}" != "0" ] && grep -q "Autostart=true" ${service}; then
18
	service="/etc/bluetooth/input.service"
19
	if [ ${result} -ne 0 ] && grep -q "Autostart=true" "${service}"; then
17
		eerror "You have Autostart=true in ${service}."
20
		eerror "You have Autostart=true in ${service}."
18
		eerror "Change this to false if you want to use hidd."
21
		eerror "Change this to false if you want to use hidd."
19
	fi
22
	fi
Lines 26-29 stop() { Link Here
26
	start-stop-daemon --stop --quiet --exec /usr/bin/hidd
29
	start-stop-daemon --stop --quiet --exec /usr/bin/hidd
27
	eend $?
30
	eend $?
28
}
31
}
29

Return to bug 283057