diff options
Diffstat (limited to 'abs/core/mythtv/stable-0.27/mythtv/recordings')
-rw-r--r-- | abs/core/mythtv/stable-0.27/mythtv/recordings | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/mythtv/stable-0.27/mythtv/recordings b/abs/core/mythtv/stable-0.27/mythtv/recordings index c60a16e..e364f3c 100644 --- a/abs/core/mythtv/stable-0.27/mythtv/recordings +++ b/abs/core/mythtv/stable-0.27/mythtv/recordings @@ -5,10 +5,10 @@ #check if mythbackend is running and was just started for i in 1 2 do -if [ `cat /etc/sv/mythbackend/supervise/pid` ] +if [ `cat /service/mythbackend/supervise/pid` ] then now=$(date +%s) - mythbackendStartTime=`stat -c %Y /etc/sv/mythbackend/supervise/pid` + mythbackendStartTime=`stat -c %Y /service/mythbackend/supervise/pid` if [[ $(( $now - $mythbackendStartTime )) -lt 59 ]] then #echo "mythbackend started less than a minute ago. Sleeping..." |