From 231445afe161829028ba7066f35c4283ab1859a3 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 30 Nov 2008 17:35:14 -0600 Subject: create .runtime dir --- abs/core-testing/runit-scripts/PKGBUILD | 2 +- abs/core-testing/runit-scripts/runitscripts/services/lircd/finish | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 ] -- cgit v0.12