summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-05-10 13:47:57 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-05-10 13:47:57 (GMT)
commit3aec3365c1b8a5e4dabbb30f986a81528362eec2 (patch)
tree4aeaf606a084b7231e22f18c5f13602e887bd30d /abs/core/runit-scripts/runitscripts
parent9384b265987ab1121b2065ffbf4fca11e4b3aa84 (diff)
downloadlinhes_pkgbuild-3aec3365c1b8a5e4dabbb30f986a81528362eec2.zip
linhes_pkgbuild-3aec3365c1b8a5e4dabbb30f986a81528362eec2.tar.gz
linhes_pkgbuild-3aec3365c1b8a5e4dabbb30f986a81528362eec2.tar.bz2
runit-scripts: remotes run: check /etc/runit/lirc.sh exists and is executable
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/remotes/run2
1 files changed, 1 insertions, 1 deletions
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"