forked from hummypkg/webif
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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user