summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-13 15:53:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-13 15:53:38 (GMT)
commit6b03cf6ea01426682a0d85f94012957aefc50da9 (patch)
treee0bb3baa80b6c51e9a87a8d23e977f2bc4177d43 /abs/core
parente1bc87901b78eac47748de1a19e8c3ff9f9793c7 (diff)
downloadlinhes_pkgbuild-6b03cf6ea01426682a0d85f94012957aefc50da9.zip
linhes_pkgbuild-6b03cf6ea01426682a0d85f94012957aefc50da9.tar.gz
linhes_pkgbuild-6b03cf6ea01426682a0d85f94012957aefc50da9.tar.bz2
LinHES-system: write mtc log file into /var/log/$DATE
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD2
-rwxr-xr-xabs/core/LinHES-system/myth_mtc.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index dc314ef..f1fe894 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -81,7 +81,7 @@ md5sums=('5bd4938cf41b63787aa4cdfd76423e09'
'a875ee97f86e46f34a741c2bc455f894'
'76b2637cac0452b3acdbeeb4e8a5474b'
'781c977f8872543f033dad2caaf0458e'
- '0337c5c21f5de199110b55a90f9c3ede'
+ '6f5b757524d905b5d2420519a88edc93'
'4b4585ccba30595cf958d202997c57f7'
'dc3eef2a624754e16805d72bbe488b67'
'dc0be354ce77ba2b89868fc29b942c43'
diff --git a/abs/core/LinHES-system/myth_mtc.sh b/abs/core/LinHES-system/myth_mtc.sh
index d995122..7899daa 100755
--- a/abs/core/LinHES-system/myth_mtc.sh
+++ b/abs/core/LinHES-system/myth_mtc.sh
@@ -1,8 +1,9 @@
#!/bin/bash
MYTH_RUN_STATUS=1
. /etc/profile
-logFile='/var/log/mythtv/myth_mtc.log'
+
date=`date +%Y-%m-%d`
+logFile="/var/log/$date/myth_mtc.log"
MYTHCONFDIR=/usr/share/mythtv myth_mtc.py > $logFile 2>&1
if [ $? = 0 ]