forked from hummypkg/webif
f0d22b3b01
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1052 2a923420-c742-0410-a762-8d5b09965624
17 lines
255 B
Plaintext
Executable File
17 lines
255 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
package require cgi
|
|
source /mod/webif/lib/setup
|
|
require ts.class pretty_size
|
|
|
|
puts "Content-Type: text/html\r\n\r\n"
|
|
|
|
cgi_input
|
|
#cgi_dump
|
|
|
|
set rfile [cgi_get file]
|
|
set base [file rootname $rfile]
|
|
|
|
puts [exec /mod/bin/stripts -aq $base]
|
|
|