update depends, pgrep -n

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1715 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg
2013-11-05 17:39:48 +00:00
parent e2c099668e
commit 7080242ff8
3 changed files with 4 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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