Developing a luci app (help with lua and the luci functions)

I developed a luci app to allow the user to set up a storage drive by pressing a button in the web interface, but since I know little of lua I had to rely heavily on shell script code to do the job.

In its current state it works, but it is probably too ugly for inclusion, so I posted a RFC in the luci github repository.

Can anyone help me a bit with lua and the luci functions?

1 Like