diff options
author | James Meyer <james.meyer@operamail.com> | 2012-04-23 21:12:08 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-04-23 21:12:08 (GMT) |
commit | 4bc7351abd5eae587f2f01dc349329ac29fd8b17 (patch) | |
tree | b3c8eec80ccb1e73e9a15ebf7be3f79a44083e50 /abs/core/runit-scripts/runitscripts/services/remotes/finish | |
parent | df3c3c139d7eedad4ab8be383c66a5518322157c (diff) | |
parent | 8c0d396181e43158de3f54c479456ca7ed052248 (diff) | |
download | linhes_pkgbuild-4bc7351abd5eae587f2f01dc349329ac29fd8b17.zip linhes_pkgbuild-4bc7351abd5eae587f2f01dc349329ac29fd8b17.tar.gz linhes_pkgbuild-4bc7351abd5eae587f2f01dc349329ac29fd8b17.tar.bz2 |
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/remotes/finish')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/remotes/finish | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/remotes/finish b/abs/core/runit-scripts/runitscripts/services/remotes/finish index ac04a33..c1a5554 100755 --- a/abs/core/runit-scripts/runitscripts/services/remotes/finish +++ b/abs/core/runit-scripts/runitscripts/services/remotes/finish @@ -4,6 +4,9 @@ export TERM=linux . /etc/rc.d/functions . /usr/MythVantage/bin/install_functions.sh +LOG=/tmp/remotes.log +echo "`date` --- finish started" >> $LOG + killall -9 lircd 2>/dev/null rm -f /var/run/lirc*.pid [ -e /etc/sv/remotes/.runtime ] || mkdir -p /etc/sv/remotes/.runtime @@ -12,10 +15,11 @@ numfiles=`/usr/bin/file_time_offset.py -s4 -d/etc/sv/remotes/.runtime ` if [ $numfiles -gt 3 ] then rm -f /etc/sv/remotes/.runtime/* 2>/dev/null - sv stop remotes + sv stop remotes >> $LOG printhl " remotes is not able to start, disabling it" + echo " remotes is not able to start, disabling it" >> $LOG fi - +echo "Enable in kernel remote driver" >> $LOG in_kernel_support "enable" |