#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup httpheader set service [cgi_get service] set action [cgi_get action] catch { puts [exec /mod/bin/service $action $service] }