webif/var/mongoose/cgi-bin/opkg.jim
hummypkg 050cb611bf working on package system
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@209 2a923420-c742-0410-a762-8d5b09965624
2011-06-28 00:20:31 +00:00

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]