LuCI/ UCI /CBI, generate prefix for section value of UCI Configuration

Screenshot from 2020-08-08 09-45-17
can i generate prefix for section value of uci configuration via LuCI models/LuCI CBI ?
iam not advance enough about lua programming language, then this is my 1st project working with luci/uci API.

what the best way for generating prefix uci section name ?
e.g with prefix lan-n : /etc/config/myconf

config interface lan-1
option type 'bridgeA'

config interface lan-2
option type 'bridgeB'

any answer, will be appreciated
~thanks

solved, everything are documented well on http://openwrt.github.io/luci/jsapi/
someday i will share it here

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.