summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-01-23 21:37:11 +0000
committerMike Frysinger <vapier@gentoo.org>2014-01-23 21:37:11 +0000
commit6b7cf3e18d8c07624fa608f755afc832010db438 (patch)
tree420c7270500e0bcb7ff7d52c09e8b4a782b39926 /app-misc/lirc/files
parentcleanup old; stable amd64 x86 on security wrt bug 498546 (diff)
downloadgentoo-2-6b7cf3e18d8c07624fa608f755afc832010db438.tar.gz
gentoo-2-6b7cf3e18d8c07624fa608f755afc832010db438.tar.bz2
gentoo-2-6b7cf3e18d8c07624fa608f755afc832010db438.zip
Fix bashism with output redirect.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'app-misc/lirc/files')
-rw-r--r--app-misc/lirc/files/lircd-0.8.6-r26
1 files changed, 3 insertions, 3 deletions
diff --git a/app-misc/lirc/files/lircd-0.8.6-r2 b/app-misc/lirc/files/lircd-0.8.6-r2
index e651f19da50d..d6f16ba07b4e 100644
--- a/app-misc/lirc/files/lircd-0.8.6-r2
+++ b/app-misc/lirc/files/lircd-0.8.6-r2
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.6-r2,v 1.1 2012/07/19 19:52:17 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.6-r2,v 1.2 2014/01/23 21:37:11 vapier Exp $
PIDFILE=/var/run/lirc/${SVCNAME}.pid
: ${LIRCD_SYMLINKFILE:=/dev/lircd}
@@ -20,7 +20,7 @@ start() {
for retval in ${LIRCD_SET_SYSCLASSRCS} ; do
if [ -e /sys/class/rc/${retval}/protocols ] && \
- grep 'lirc' /sys/class/rc/${retval}/protocols &>/dev/null ; then
+ grep -qs 'lirc' /sys/class/rc/${retval}/protocols ; then
einfo "Setting lirc protocol active for ${retval}"
echo lirc >/sys/class/rc/${retval}/protocols
fi