forked from hummypkg/webif
8f7f20b83d
git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2346 2a923420-c742-0410-a762-8d5b09965624
23 lines
548 B
Plaintext
Executable File
23 lines
548 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)"
|
|
}
|
|
catch {set fhtcpversion [system fhtcpversion]}
|
|
catch {set kernelver [system kernelver]}
|
|
|
|
puts "
|
|
Humax [system model] Fox T2 ([system hostname])
|
|
Humax Version: $fhtcpversion (kernel $kernelver)
|
|
Custom firmware version: $modver
|
|
Web interface version: [system pkgver webif]
|
|
Serial Number: [system serialno]
|
|
Last Boot Reason: [system lastbootreason]
|
|
"
|
|
|