forked from hummypkg/webif
8f3971cf76
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif@171 2a923420-c742-0410-a762-8d5b09965624
16 lines
265 B
Plaintext
Executable File
16 lines
265 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
if {[catch {set fp [open /etc/model r]}]} {
|
|
set model {HD[R]}
|
|
} else {
|
|
set model [string trim [read $fp]]
|
|
close $fp
|
|
}
|
|
|
|
if {[catch {set hostname [string trim [exec hostname]]}]} {
|
|
set hostname "humax"
|
|
}
|
|
|
|
puts "Humax $model Fox T2 ($hostname)"
|
|
|