050cb611bf
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@209 2a923420-c742-0410-a762-8d5b09965624
19 lines
268 B
Plaintext
Executable File
19 lines
268 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
package require cgi
|
|
|
|
puts "Content-Type: text/html"
|
|
puts ""
|
|
|
|
cgi_input
|
|
#cgi_dump
|
|
|
|
#set _cgi(cmd) {remove binutils}
|
|
|
|
if {![dict exists $_cgi cmd]} { set _cgi(cmd) status }
|
|
|
|
set cmd [dict get $_cgi cmd]
|
|
|
|
puts [exec /mod/var/mongoose/lib/opkg {*}$cmd]
|
|
|