summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-30 23:35:14 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-30 23:35:14 (GMT)
commit231445afe161829028ba7066f35c4283ab1859a3 (patch)
tree7b0603872e6be6a8b8633e6dcc16114dd4612f5f /abs
parentdd94e2fc90c3398b69259027f86e8a8f11f3d9a3 (diff)
downloadlinhes_pkgbuild-231445afe161829028ba7066f35c4283ab1859a3.zip
linhes_pkgbuild-231445afe161829028ba7066f35c4283ab1859a3.tar.gz
linhes_pkgbuild-231445afe161829028ba7066f35c4283ab1859a3.tar.bz2
create .runtime dir
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core-testing/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/finish1
2 files changed, 2 insertions, 1 deletions
diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD
index 3e12cd6..be7d21f 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=6
+pkgrel=7
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 3545b07..bf6cb69 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish
+++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish
@@ -1,6 +1,7 @@
#!/bin/bash
killall -9 lircd
rm -f /var/run/lirc*.pid
+[ -e /etc/sv/lircd/.runtime ] || mkdir -p /etc/sv/lircd/.runtime
touch /etc/sv/lircd/.runtime/`date +%s`
numfiles=`/usr/bin/file_time_offset.py -s4 -d/etc/sv/lircd/.runtime `
if [ $numfiles -gt 3 ]