summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts
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
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')
-rwxr-xr-xabs/core-testing/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/finish2
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/run1
3 files changed, 3 insertions, 2 deletions
diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD
index 0a2298a..8a84258 100755
--- a/abs/core-testing/runit-scripts/PKGBUILD
+++ b/abs/core-testing/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=1.8.0
-pkgrel=8
+pkgrel=10
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
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 {