forked from hummypkg/webif
62a13e18cc
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1848 2a923420-c742-0410-a762-8d5b09965624
24 lines
564 B
Plaintext
Executable File
24 lines
564 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
source /mod/webif/lib/setup
|
|
require system.class
|
|
|
|
set modver [system modversion]
|
|
set modbuild [system modbuild]
|
|
if {$modbuild > 0} {
|
|
append modver " (build $modbuild)"
|
|
}
|
|
|
|
puts "<font class=blood style=\"font-size: 0.9em; float: right; clear: right\">
|
|
Web interface version: [system pkgver webif]<br>
|
|
Custom firmware version: $modver
|
|
"
|
|
if {![catch {set fhtcpversion [system fhtcpversion]}]} {
|
|
puts "<br>Humax Version: $fhtcpversion"
|
|
}
|
|
if {![catch {set kernelver [system kernelver]}]} {
|
|
puts "<br>Kernel Version: $kernelver"
|
|
}
|
|
puts "</font>"
|
|
|