c2ec779465
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@629 2a923420-c742-0410-a762-8d5b09965624
15 lines
367 B
Plaintext
Executable File
15 lines
367 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
source /mod/var/mongoose/lib/setup
|
|
require pretty_size
|
|
|
|
foreach file [concat \
|
|
[glob -nocomplain /var/log/*.log] \
|
|
[glob -nocomplain /mod/tmp/*.log] \
|
|
] {
|
|
puts "<a href=# class=log file=\"$file\">
|
|
<img border=0 height=14 src=/images/421_1_00_CH_Title_2R_Arrow.png>
|
|
[file tail $file]</a> ([pretty_size [file size $file]]) <br>"
|
|
}
|
|
|