And you make it more difficult than necessary.
In the past, I tried to run Omnia with dnsmasq, exactly the way upstream OpenWrt does, and to keep it running is not something a normal user would be capable of doing. See also: Howto purge kresd and enable dnsmasq properly? - #2 by neheb
What’s so difficult on keeping kresd / resolver disabled after update, if it was disabled before update?
Nonetheless, we are getting off topic here.