Send command or a bash script from luci

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 ?

luci-app-commands ?

1 Like

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)"/etc/to-my-script/ start >/dev/null 2>&1")