The easiest way is to craft a shell script containing the multiple commands, save it somewhere, e.g. /etc
And then use LuCI commands just to launch that script
Thanks, that is my fallback plan. I'm hoping for a solution that does not require shell and allows me to change commands from GUI as well.
I could probably create a bash script that executes a command that is passed via argument from the luci-app-commands, however this would be too insecure.
EDIT: I guess for now, I'll have a separate UCI COMMIT button which I'll run after executing single UCI command.