summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/services/lircd
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-12-01 02:25:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-12-01 02:25:41 (GMT)
commite4f269bdf21c75ed8a7b3a73bf09ed1c727e2723 (patch)
treef61aee551e6927ae49eac8c290fafc9bcc44f7bf /abs/core-testing/runit-scripts/runitscripts/services/lircd
parent32415a51c4d53d981cd17f06f18928cdc0a1cbc5 (diff)
downloadlinhes_pkgbuild-e4f269bdf21c75ed8a7b3a73bf09ed1c727e2723.zip
linhes_pkgbuild-e4f269bdf21c75ed8a7b3a73bf09ed1c727e2723.tar.gz
linhes_pkgbuild-e4f269bdf21c75ed8a7b3a73bf09ed1c727e2723.tar.bz2
misc runit-script fixes
remove tty* link misc errors on console
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services/lircd')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/lircd/finish3
1 files changed, 1 insertions, 2 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish b/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish
index 51c33bb..754bca1 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish
+++ b/abs/core-testing/runit-scripts/runitscripts/services/lircd/finish
@@ -6,8 +6,7 @@ touch /etc/sv/lircd/.runtime/`date +%s`
numfiles=`/usr/bin/file_time_offset.py -s4 -d/etc/sv/lircd/.runtime `
if [ $numfiles -gt 3 ]
then
- rm -f /etc/sv/lircd/.runtime/*
- ls -la /etc/sv/lircd/.runtime/*
+ rm -f /etc/sv/lircd/.runtime/* 2>/dev/null
sv stop lircd
echo "lircd is not able to start, disabling it"
fi