i want creat a button for a form on luci that after click run a command or bash script in oprnwrt
i mean creat a webpage for send and recieve command and resualt on luci
how can creat this ?
can send me a doc for this ?
no . i want creat a gui for packages that not have gui .
for example i want set snmp setting ( uci set ...... ) from luci and webpage
m = Map("..... function m.on_commit(Map) luci.sys.call("/etc/to-my-script/my-script.sh start >/dev/null 2>&1") end