summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-05-24 16:59:00 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-05-24 16:59:00 +0000
commit4bc2ff21f4868b61010fb3f8ce12bc490f0b0fb6 (patch)
treee58e40b8e7a02a86561059e2adac7aee1ff6415b /net-wireless/bluez-utils/files
parentVersion bump (diff)
downloadgentoo-2-4bc2ff21f4868b61010fb3f8ce12bc490f0b0fb6.tar.gz
gentoo-2-4bc2ff21f4868b61010fb3f8ce12bc490f0b0fb6.tar.bz2
gentoo-2-4bc2ff21f4868b61010fb3f8ce12bc490f0b0fb6.zip
Use qgrep -q instead of directing to /dev/null at the request of drizztbsd.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-wireless/bluez-utils/files')
-rw-r--r--net-wireless/bluez-utils/files/3.11/init.d-hidd4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-wireless/bluez-utils/files/3.11/init.d-hidd b/net-wireless/bluez-utils/files/3.11/init.d-hidd
index 862867bec4fb..463cdbaa396f 100644
--- a/net-wireless/bluez-utils/files/3.11/init.d-hidd
+++ b/net-wireless/bluez-utils/files/3.11/init.d-hidd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/files/3.11/init.d-hidd,v 1.1 2007/05/24 16:33:37 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/files/3.11/init.d-hidd,v 1.2 2007/05/24 16:59:00 betelgeuse Exp $
depend() {
need bluetooth
@@ -13,7 +13,7 @@ start() {
--exec /usr/bin/hidd -- ${HIDD_OPTIONS} --server
local result="$?"
local service="/etc/bluetooth/input.service"
- if [ "${result}" != "0" ] && grep "Autostart=true" ${service} >/dev/null; then
+ if [ "${result}" != "0" ] && grep -q "Autostart=true" ${service}; then
eerror "You have Autostart=true in ${service}."
eerror "Change this to false if you want to use hidd."
fi