summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts
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/core-testing/runit-scripts/runitscripts
parentdd94e2fc90c3398b69259027f86e8a8f11f3d9a3 (diff)
downloadlinhes_pkgbuild-231445afe161829028ba7066f35c4283ab1859a3.zip
linhes_pkgbuild-231445afe161829028ba7066f35c4283ab1859a3.tar.gz
linhes_pkgbuild-231445afe161829028ba7066f35c4283ab1859a3.tar.bz2
create .runtime dir
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/finish1
1 files changed, 1 insertions, 0 deletions
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 ]