From 510c6c740779162cb33ab1fabf8ca971db49c982 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sun, 4 Sep 2011 00:18:07 +0000 Subject: [PATCH] fix reboot busy check git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@354 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 2 +- var/mongoose/lib/system.class | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index 7fbf565..0036516 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 0.6.8 +Version: 0.6.8-1 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4),jim-oo,jim-pack,service-control,busybox(>=1.18.3-1),lsof,epg(>=1.0.3),hmt(>=1.0.6),ssmtp diff --git a/var/mongoose/lib/system.class b/var/mongoose/lib/system.class index e0d5bf6..57e1e37 100644 --- a/var/mongoose/lib/system.class +++ b/var/mongoose/lib/system.class @@ -45,7 +45,7 @@ proc {system diskspace} {} { proc {system busy} {} { # Is humaxtv doing anything? - set pid [exec pgrep humaxtv] + set pid [exec /mod/bin/busybox/pgrep humaxtv] set c 0 catch { set c [exec /mod/bin/lsof -p $pid | grep Video | fgrep .ts | wc -l] }