From 6b03cf6ea01426682a0d85f94012957aefc50da9 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 13 Oct 2012 10:53:38 -0500 Subject: LinHES-system: write mtc log file into /var/log/$DATE --- abs/core/LinHES-system/PKGBUILD | 2 +- abs/core/LinHES-system/myth_mtc.sh | 3 ++- 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 ] -- cgit v0.12