summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/services
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-12-01 00:25:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-12-01 00:25:21 (GMT)
commit798b843d304bf2afa6b7dd2395105c92c26695a5 (patch)
tree3631fefe4328a83e7500ae784a5e4cbfdae9ee72 /abs/core-testing/runit-scripts/runitscripts/services
parent09d38a2c4db1f9d45cea7a9b55a8d441d4a73d61 (diff)
downloadlinhes_pkgbuild-798b843d304bf2afa6b7dd2395105c92c26695a5.zip
linhes_pkgbuild-798b843d304bf2afa6b7dd2395105c92c26695a5.tar.gz
linhes_pkgbuild-798b843d304bf2afa6b7dd2395105c92c26695a5.tar.bz2
mkdir .runtime before starting lircd
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/finish2
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/run1
2 files changed, 2 insertions, 1 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish b/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish
index bf6cb69..51c33bb 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish
+++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish
@@ -1,5 +1,5 @@
#!/bin/bash
-killall -9 lircd
+killall -9 lircd 2>/dev/null
rm -f /var/run/lirc*.pid
[ -e /etc/sv/lircd/.runtime ] || mkdir -p /etc/sv/lircd/.runtime
touch /etc/sv/lircd/.runtime/`date +%s`
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
index 57b1b48..0adfdc1 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/run
@@ -2,6 +2,7 @@
exec 2>&1
run_lircd2=false
. /etc/systemconfig
+[ -e /etc/sv/lircd/.runtime ] || mkdir -p /etc/sv/lircd/.runtime
function dvico_detect {