#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup require pretty_size puts "Content-Type: text/html" puts "" header puts {
Utilities } if {[system model] eq "HDR"} { puts { } } puts {
Run Diagnostic:
Package:
} if {[system modversion 1] < 200} { puts {
(Install custom firmware v2.00 to enable this option)
} } puts {
View: Jim Reference Manual | OO | Sqlite
View Log Files } foreach file [lsort [concat \ [glob -nocomplain /var/log/*.log] \ [glob -nocomplain /mod/tmp/*.log] \ [glob -nocomplain /mnt/hd3/*.log] \ ]] { puts " [file tail $file] ([pretty_size [file size $file]])
" } puts {
} footer