diff --git a/CONTROL/control b/CONTROL/control index 1c5697d..f99e808 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,9 +1,9 @@ Package: webif Priority: optional Section: web -Version: 1.0.7-5 +Version: 1.0.7-6 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.1.4),mongoose(>=3.0-9),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73-1),jim-cgi(>=0.7),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.2.3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6) +Depends: webif-channelicons(>=1.1.4),mongoose(>=3.0-9),jim(>=0.74-2),jim-oo,jim-sqlite3(>=0.74-1),jim-cgi(>=0.7),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.2.3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6) Suggests: Description: An evolving web interface for the Humax. diff --git a/var/mongoose/cgi-bin/status.jim b/var/mongoose/cgi-bin/status.jim index 7c55324..53495a4 100755 --- a/var/mongoose/cgi-bin/status.jim +++ b/var/mongoose/cgi-bin/status.jim @@ -19,7 +19,7 @@ case $runmode { } } -if {[catch {set pid [exec pgrep humaxtv]}]} { +if {[catch {set pid [exec pgrep -n humaxtv]}]} { puts "Cannot find humaxtv process." exit } diff --git a/var/mongoose/lib/system.class b/var/mongoose/lib/system.class index 95d9561..e41b94b 100644 --- a/var/mongoose/lib/system.class +++ b/var/mongoose/lib/system.class @@ -165,7 +165,7 @@ proc {system diskfree} {} { proc {system busy} {} { # Is humaxtv doing anything important? - if {[catch {set pid [exec /mod/bin/busybox/pgrep humaxtv]}]} { + if {[catch {set pid [exec /mod/bin/busybox/pgrep -n humaxtv]}]} { return 0 } set c 0