forked from hummypkg/webif
d3e7adfd1f
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif@161 2a923420-c742-0410-a762-8d5b09965624
16 lines
250 B
Plaintext
Executable File
16 lines
250 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
package require cgi
|
|
|
|
puts "Content-Type: text/html"
|
|
puts ""
|
|
|
|
cgi_input
|
|
#cgi_dump
|
|
|
|
catch { set service [dict get $_cgi service] }
|
|
catch { set action [dict get $_cgi action] }
|
|
|
|
catch { puts [exec /mod/bin/service $action $service] }
|
|
|