From 3aec3365c1b8a5e4dabbb30f986a81528362eec2 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 10 May 2012 08:47:57 -0500
Subject: runit-scripts: remotes run: check /etc/runit/lirc.sh exists and is
 executable

---
 abs/core/runit-scripts/PKGBUILD                          | 2 +-
 abs/core/runit-scripts/runitscripts/services/remotes/run | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 48e469d..f9b379e 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=2.1.1
-pkgrel=63
+pkgrel=64
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/remotes/run b/abs/core/runit-scripts/runitscripts/services/remotes/run
index 0943a8e..2248322 100755
--- a/abs/core/runit-scripts/runitscripts/services/remotes/run
+++ b/abs/core/runit-scripts/runitscripts/services/remotes/run
@@ -23,7 +23,7 @@ echo "`date` --- run started" >> $LOG
 # /etc/runit/lirc.sh
 #Anything in that file will be used and the rest of this file is ignored.
 
-if [ -f /etc/runit/lirc.sh ]
+if [ -x /etc/runit/lirc.sh ]
 then
     #program must not terminate.
     stat_runit "Starting remotes from /etc/runit/lirc.sh"
-- 
cgit v0.12