git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@420 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg
2011-09-25 18:25:09 +00:00
parent 22db1fbbd6
commit 9b2f138fd9
6 changed files with 10 additions and 6 deletions

View File

@@ -32,6 +32,10 @@ proc {system modversion} {} {
return [format "%d.%d%d" $a $b $c]
}
proc {system pkgver} {{pkg webif}} {
return [lrange [split [exec opkg list-installed $pkg] " "] 2 end]
}
proc {system diskspace} {} {
switch [system model] {
HDR { set part /mnt/hd2 }