How to set a gpio permanent with gpioset

Device: Orange Pi PC
OS: OpenWrt 18.06.4 Kernel: 4.14.131

I like to set some GPIOs with Relays permanently with LUA via os.execute(gpioset...).
But the value will return to default after gpioset exits and the options/switches of gpioset seems are is not helpful for me.

Any ideas for the solution?

https://manpages.debian.org/experimental/gpiod/gpioset.1.en.html
gpioset -d -m signal
should work. Gpioset will stay, to keep the handle open.

Hi Mijzelf,

thanks for suggestion. I'll check it and report back.

Elux